|
-
Aug 27th, 2003, 11:57 AM
#1
Thread Starter
Hyperactive Member
Blank ComboBox initially
My form has a Combo Box [Cb] with DropDownStyle property set to DropDownList.
When the application starts the Combo Box is populated with a Data Table [dt].
Problem resides in the fact that the Combo Box Selected choice [the one that appears] should be blank initially. However when populating it with the Data Table, the first value from the table automatically appears in the combo box.
It should be blank until one of the choices are selected.
Any clues?
-
Aug 27th, 2003, 02:11 PM
#2
Sleep mode
This will set the combobox to empty value if this is what you are asking about !
Code:
Cb.SelectedIndex=-1;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|