And in debugging what was the value of say "bunitsCB.Text"
Thats just the problem. Im not getting a value for bunitsCB.Text. The value is visible on the screen but I cannot figure out how to call it for the switch statement. It is in the database, it shows in the combo box but unless I reselect it it does not get assigned to bunitsCB.Text.
When you set the DataSource or load the Items manually, you could just set the SelectedIndex property to 0. That should keep you from getting errors about nothing being selected. I guess whether or not you can do this would have to depend on any Business rules in place or requirements.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.