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

Recommended Answers

combobox.items.clear()

Jump to Post

Hi,

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

Jump to Post

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

Jump to Post

All 9 Replies

combobox.items.clear()

combobox.SelectedIndex = -1

Hi,

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

I've experimenting, but it did not work

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

ComboBox.Items.Clear()

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

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

Hi,

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.