แก้ไข

แชร์ผ่าน


DataTable.OnRowChanging(DataRowChangeEventArgs) Method

Definition

Raises the RowChanging event.

protected:
 virtual void OnRowChanging(System::Data::DataRowChangeEventArgs ^ e);
protected virtual void OnRowChanging (System.Data.DataRowChangeEventArgs e);
abstract member OnRowChanging : System.Data.DataRowChangeEventArgs -> unit
override this.OnRowChanging : System.Data.DataRowChangeEventArgs -> unit
Protected Overridable Sub OnRowChanging (e As DataRowChangeEventArgs)

Parameters

e
DataRowChangeEventArgs

A DataRowChangeEventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. For an overview, see Handling and Raising Events.

Notes to Inheritors

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

Applies to

See also