Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)
The RowUpdating event is raised before an Update to a row.
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, 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.
The following example shows how to use both the RowUpdating and RowUpdated events.
The RowUpdating event returns this output:
Event Arguments: (command=OracleCommand commandType=2 status=0)
The RowUpdated event returns this output:
Event Arguments: (command=OracleCommand commandType=2 recordsAffected=1 row=DataRow status=0)
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.