1.11M Members

How to clear or refresh a combo box?

 
0
 

Hi friends
I want to refresh my combo box .
i have even used the combobox.refresh() syntax but it does nothing!
need help

 
0
 

combobox.items.clear()

 
1
 

combobox.SelectedIndex = -1

 
0
 

Hi,

If your combobox is set with the "DropDownList", then
use Combobox1.SelectedIndex = -1

 
0
 

I've experimenting, but it did not work

 
0
 

Please start a new thread and post the code that doesn't work so that we can offer suggestions.

 
-1
 

ComboBox.Items.Clear()

 
0
 

try this
ComboBoxguest.Items.Clear()
then load your combobox again
ext
ComboBoxguest.Items.Clear() 'clear combobox
guest()'i load again combobox from this methode

 
0
 

Try: .refresh(), then .items.clear(), then invalidate()

 
0
 

Hi,

If your combobox is set with the "DropDownList", then
use Combobox1.SelectedIndex = -1

You
Post:
Start New Discussion
View similar articles that have also been tagged: