locked
ComboBox does not update when DataSource is updated by BackgroundWorker RRS feed

  • Question

  • I have a DataTable bound to a ComboBox. When I update the DataTable using a BackgroundWorker object, new rows do not appear in the ComboBox. What gives? Even if I rebind it, I get the same behavior.
    Thursday, June 21, 2007 6:35 PM

Answers

  • Fixed it! The ComboBox won't update until I call DataTable.AcceptChanges.
    Thursday, June 21, 2007 6:52 PM