Change selected value or text of a ComboBox ( data Bound )

glider

New member
Joined
Jan 31, 2013
Messages
1
Programming Experience
3-5
I have a combobox which is bound to a Table column. Now suppose it has 4-5 values when the form gets loaded. By default, the 1st item is selected. I want some other item other than the 1st one to be selected when the form loads.

I have tried using all combobox properties but it isn't working . Any idea how to do that ? Reply ASAP
 
Hi,

Firstly, we are here to help, when and where we can, and are NOT here at your Beck-and-Call so please do NOT use phrases like "Reply ASAP".

That said, you obviously did NOT check all the properties available to you, since you can simple set the SelectedIndex property of the ComboBox to whichever item you want. i.e:-

ComboBox1.SelectedIndex = 3

Ian
 
Back
Top