''DataRowChangeEventArgs'' '''

DataRowChangeEventArgs

System.Data (system.data.dll) class

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; } 
}

Hierarchy

System.Object figs/U2192.gif System.EventArgs figs/U2192.gif DataRowChangeEventArgs

Passed To

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



    Part I: ADO.NET Tutorial
    Part II: ADO.NET Core Classes
    Part III: API Quick Reference
    Chapter 34. The System.Data Namespace