Hello Clay,
thank you very much for your reply. Unfortunately, RejectChanges() method is not an option for
me. :(
I need to use RowFilter, which means the DataGridView may contain no rows of data, but the
DataTable may contain hundreds of them at the same time. DataTable.RejectChanges() rolls back
all the changes made to the DataTable since it was created, or since the last time
DataTable.AcceptChanges() was called, so in this case I would reject any changes made to rows in
the DataTable. Since the source database is not and may not be updated every time user changes
the DataTable (DB is not accessible all the time), it would mean loss of data.
I was trying to find a way to reject changes in the current DataTable.DefaultView, but failed.
Is there any?
Thanks again for your time...
With regards
Pavel
ClayB napsal(a):
> Here is some code that does not throw this exception when you enter 2
> cells into the new row and then press Esc twice on the second cell.
[quoted text clipped - 31 lines]
> Clay Burch
> Syncfusion, Inc.