Provides data for the RowUpdating event.
Assembly: System.Data (in System.Data.dll)
|OleDbRowUpdatingEventArgs(DataRow, IDbCommand, StatementType, DataTableMapping)|
Initializes a new instance of theclass.
Gets the type of SQL statement to execute.(Inherited from RowUpdatingEventArgs.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
When using Update, there are two events that occur for each data row updated. The order of execution is as follows:
The values in the DataRow are moved to the parameter values.
The OnRowUpdating event is raised.
The command executes.
If the command is set to FirstReturnedRecord, then the first returned result is placed in the DataRow.
If there are output parameters, they are placed in the DataRow.
The OnRowUpdated event is raised.
AcceptChanges is called.
Available since 1.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.