How to clear combo box contents in vb.net
Try using combobox.Items.Clear()
If your combobox
is set with the DropDownList
, then
use Combobox1.SelectedIndex = -1
Try using combobox.Items.Clear()
If your combobox
is set with the DropDownList
, then
use Combobox1.SelectedIndex = -1