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.AddOnRowChanging

Adds an event handler for the RowChanging event.

[Visual Basic]
Public Sub AddOnRowChanging( _
   ByVal handler As DataRowChangeEventHandler _
)
[C#]
public void AddOnRowChanging(
   DataRowChangeEventHandler handler
);
[C++]
public: void AddOnRowChanging(
   DataRowChangeEventHandler* handler
);
[JScript]
public function AddOnRowChanging(
   handler : DataRowChangeEventHandler
);

Parameters

handler
A DataRowChangeEventHandler delegate that represents the method that will handle the RowChanging event.

Return Value

The user can modify values in the row and should throw an exception to cancel the edit.

See Also

DataTable Class | DataTable Members | System.Data Namespace | RemoveOnRowChanging