Data Bound cells out of sync with DataTable
-
Hey Everyone, I have a DataTable exposed to the user through a DataGridView. When a user types in a value for some cells, it triggers events to update other cells. For all my updates, I am updating the underlying databound DataTable, not the DataGridView. My problem is that in some very rare cases, the data does not show up on the DataGridView. Using the exact same scenarios, updates sometimes work, sometimes not. If I step through the code I can see that the DataTable has the correct values and then I call DataGridView.Refresh() and the display is wrong. Has anyone had issues with the databindings or know work arounds short of re-writing the code to manage the Table and Grid independantly? Thanks in advance, Pualee P.S. I have removed all possibility of Background threads. There are only events and the GUI to deal with. I have also made sure the events are not overwriting each other (I think).