Occurs during an Update operation before a command is executed against the database.
[Visual Basic]
Public Event RowUpdating As DB2RowUpdatingEventHandler
[C#]
public event DB2RowUpdatingEventHandler RowUpdating;
[C++]
public: __event DB2RowUpdatingEventHandler* RowUpdating;
[JScript] In JScript(R), you can handle the events defined by a class, but you cannot declare new events.
The event handler receives an argument of type DB2RowUpdatingEventArgs containing data related to this event. The following DB2RowUpdatingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
DB2RowUpdatingEventArgs.Command | Gets or sets the DB2Command to to execute when Update is called. |
Errors (inherited from RowUpdatingEventArgs) | Gets any errors generated by the IBM Data Server Provider for .NET when the Command executes. |
Row (inherited from RowUpdatingEventArgs) | Gets the DataRow to send through an Update. |
StatementType (inherited from RowUpdatingEventArgs) | Gets the type of SQL statement to execute. |
Status (inherited from RowUpdatingEventArgs) | Gets the UpdateStatus of the Command. |
TableMapping (inherited from RowUpdatingEventArgs) | Gets the DataTableMapping to send through the Update. |