G
Guest
I have a ComboBox on my form, and I set it's DataSource to an ArrayList of
custom objects. Everything loads fine, all the entries I initially loaded
into the ArrayList appear in my ComboBox.
However, while my program is running and I add a new object to that
ArrayList - this ComboBox is not updating to reflect the change.
I have gone so far as to try:
clientList.Invalidate();
clientList.DataSource = RecordKeeper.RecordList;
clientList.Refresh();
all at once in that order.
and still can't get the ComboBox to refresh...
how do I do this?
custom objects. Everything loads fine, all the entries I initially loaded
into the ArrayList appear in my ComboBox.
However, while my program is running and I add a new object to that
ArrayList - this ComboBox is not updating to reflect the change.
I have gone so far as to try:
clientList.Invalidate();
clientList.DataSource = RecordKeeper.RecordList;
clientList.Refresh();
all at once in that order.
and still can't get the ComboBox to refresh...
how do I do this?