views:

48

answers:

1

im populating the data in the combo box using dataset tables...with some table name..now i want to clear those entries or data populated in the combobox every time when the button is clicked...so that new entries can be done.... is there any way to clear the comobo box values??

+1  A: 
combobox1.datasource = null;
combobox1.items.clear();
Dustin Laine
THANKS FOR UR ANS BUT comboBox1.Datasource=null; '==' is for comparison purpose..correct ur code..
shruti
I fixed, thanks. Typo.
Dustin Laine