This class provides extra information for four DataTable events: DataTable.RowChanging, DataTable.RowChanged, DataTable.RowDeleting, and DataTable.RowDeleted. This information consists of the affected DataRow (Row) and the action that occurred on the row (Action).

public class DataRowChangeEventArgs : EventArgs {

// Public Constructors

   public DataRowChangeEventArgs(DataRow row, DataRowAction action);

// Public Instance Properties

   public DataRowAction Action{get; } 

   public DataRow Row{get; } 



System.Object System.EventArgs DataRowChangeEventArgs

Passed To

DataRowChangeEventHandler.{BeginInvoke( ), Invoke( )}, DataTable.{OnRowChanged( ), OnRowChanging( ), OnRowDeleted( ), OnRowDeleting( )}

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.