The DataTable
class has RowChanging
as well as RowChanged
events, which is convenient (for those of us foolish enough to be using the DataTable
class in the first place). Event handlers for these events take a parameter of type DataRowChangeEventArgs
, whose properties comprise a DataRowAction
(Add, Change, Delete, etc.) and the DataRow
being changed or having just changed.
Is there any way to actually know which fields of the DataRow
are being changed (in the RowChanging
event) or have just changed (in the RowChanged
event)? If not, is it possible to get this information in some other way?