View Single Post
  #13 (permalink)  
Old May 12th, 2004, 01:42 PM
katsarosj katsarosj is offline
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts


That is an excellent solution. In my example, I wasn't actually binding the combobox to anything. I had a pre-generated list of U.S. states, which was one of the fields in a database. I used it for an update form to determine which state was entered in the database, then selected it. Since the states were alphabetical and indexed at 0, it wasn't hard to set the SelectedIndex when a match was made.

I would definitely agree with Ron in saying that information on this subject was extremely hard to find. I came up with my solution about 3 months ago and spent much time Googling and looking through MSDN before I decided to go my route. Anyway, good forum and good job to both of you for shedding more light on this subject.

The Following User Says Thank You to katsarosj For This Useful Post:
Ron Howerton (February 22nd, 2013)