P
PJ6
If I edit more than one row in a databound DataGridView and then I want to
cancel the edits, calling the RejectChanges method in the DataTable often
does not cause the grid to revert back to the original values - and never
more than one row, when it does work.
I've tried ResetBindingSource but that seems to be really flaky and throw
inappropriate exceptions.
What's the best way to cause the grid to show reverted values without having
to load the data again?
Paul
cancel the edits, calling the RejectChanges method in the DataTable often
does not cause the grid to revert back to the original values - and never
more than one row, when it does work.
I've tried ResetBindingSource but that seems to be really flaky and throw
inappropriate exceptions.
What's the best way to cause the grid to show reverted values without having
to load the data again?
Paul