OnRowChanging Method

DataTable.OnRowChanging Method (DataRowChangeEventArgs)


Raises the RowChanging event.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

protected virtual void OnRowChanging(
	DataRowChangeEventArgs e


Type: System.Data.DataRowChangeEventArgs

A DataRowChangeEventArgs that contains the event data.

Raising an event invokes the event handler through a delegate. For an overview, see NIB: Raising an Event.

Notes to Inheritors:

When overriding OnRowChanging in a derived class, be sure to call the base class's OnRowChanging method.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft