Occurs during a call to Update before an update command is executed against the data source. The attempt to update is made, and then this event fires.
member RowUpdating : IEvent<SqlCeRowUpdatingEventHandler,
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.
The OnRowUpdated event is raised.
AcceptChanges is called.
The following example shows the RowUpdating and RowUpdated events in use.
No code example is currently available or this language may not be supported.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback