'Declaration Public Event RowUpdated As UniRowUpdatedEventHandler |
public event UniRowUpdatedEventHandler RowUpdated |
Event Data
The event handler receives an argument of type RowUpdatedEventArgs containing data related to this event. The following RowUpdatedEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Command | |
| Errors | |
| RecordsAffected | |
| Row | |
| RowCount | |
| StatementType | |
| Status | |
| TableMapping |
Remarks
The event handler receives an argument of type UniRowUpdatedEventArgs containing data related to this event. The following UniRowUpdatedEventArgs properties provide information specific to this event.
When using the System.Data.Common.DbDataAdapter.Update(System.Data.DataSet) method, there are two events that occur per data row updated. The order of execution is as follows:
- The values in the System.Data.DataRow are moved to the parameter values.
- The RowUpdating event is raised.
- The command executes.
- If the System.Data.UpdateRowSource enumeration is set to System.Data.UpdateRowSource.FirstReturnedRecordS, the first returned result is placed in the System.Data.DataRow.
- If there are output parameters, they are placed in the System.Data.DataRow.
- The RowUpdated event is raised.
- System.Data.DataRow.AcceptChanges is called.
See Also