How to clear a bound combo box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have a combo box that is bound to an ArrayList. While the application is
running this ArrayList gets loaded with new values each time discarting the
old ones.

I have done the following:

ArrayList.Clear();
LoadArrayList();
comboBox.DataSource = ArrayList;
comboBox.Refresh();

While in runtime when I run this code for the second time, the combo box
does not display the second set of values.
Can someone help?
Thank you,
E.
 
Back
Top