NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataTable RowDeleting Event

Occurs before a row in the table is about to be deleted.

The following declaration shows the syntax for a method that handles the RowDeleting event.

[Visual Basic]
Private Sub DataTableName_RowDeleting( _
   ByVal sender As Object, _
   ByVal e As DataRowChangeEventArgs _
)
[C#]
private void DataTableName_RowDeleting(
   object sender,
   DataRowChangeEventArgs e
);
[C++]
private: void DataTableName_RowDeleting(
   Object* sender,
   DataRowChangeEventArgs* e
);
[JScript]
private DataTableName_RowDeleting(
   sender : Object,
   e : DataRowChangeEventArgs
);

Parameters

sender
The source of the event.
e
A DataRowChangeEventArgs that contains the event data. The following DataRowChangeEventArgs properties provide information specific to this event.
Property Description
Action
Gets the action that has occurred on a DataRow.
Row
Gets the row upon which an action has occurred.

See Also

DataTable Class | DataTable MembersTopic | System.Data Namespace