I am working on a C# dot net web page, I am working on a Customer information page with a droplist of States, data is pulling from a table of US States. When I load the data from the customer table I will set the DropList Selected Value equal to the Customer record's state, however, some of the State is non US state, for example, Canada state, in that case the page get error message saying that the range is out of bound. Is there anyway that I can check if the record's state is one of the state in the DropList? Do I have to do a for / while loop to go thur the dataset of the US State? Thanks!
Patrick
Patrick