-
Combo Box
I am hoping someone can help me. I have a combo box and am filling the combo box via a databinding. It seems as if that by default the combo box shows the first record in the combo box. I however want the displayed text to be empty and when the user clicks on the combo box they will then see the items in the combo box. Can anyone help? I am puzzled. In .net 2002 I could say combobox.selectedindex = -1 In 2003 this does not work, it still shows the first record in the databinding.
-
Yes you can :)
With insert, you can insert a row and specify the index... so you can insert an empty record on index 0.
cboCourier.Items.Insert(0, "")
HTH
Bjorn