Folks,

I’m making a dialog which has a DataGridView bound to a simple XML file through a DataSet. The first column in the grid is a ComboBox type. The ComboBox has a set of numbers based on the immediate input. The set in the ComboBox may change from time to time, and the value stored in the XML may no longer be a part of the set**. When that happens, I get a DataError event and ArgumentException. What would be the best way to handle that? Of course, I can just ignore all ArgumentException, but I don’t feel that that would be the best practice.

** That’s not abnormal. The operator is expected to pick a value from the new set.

Cheers,
- Nick