SqlCeRowUpdatedEventArgs Class
Visual Studio 2010
Provides data for the RowUpdated event.
System::Object
System::EventArgs
System.Data.Common::RowUpdatedEventArgs
System.Data.SqlServerCe::SqlCeRowUpdatedEventArgs
System::EventArgs
System.Data.Common::RowUpdatedEventArgs
System.Data.SqlServerCe::SqlCeRowUpdatedEventArgs
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
The SqlCeRowUpdatedEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | SqlCeRowUpdatedEventArgs | Initializes a new instance of the SqlCeRowUpdatedEventArgs class. |
| Name | Description | |
|---|---|---|
![]() | Command | Gets the SqlCeCommand executed when Update is called. |
![]() | Errors | (inherited from RowUpdatedEventArgs) |
![]() | RecordsAffected | (inherited from RowUpdatedEventArgs) |
![]() | Row | (inherited from RowUpdatedEventArgs) |
![]() | RowCount | (inherited from RowUpdatedEventArgs) |
![]() | StatementType | (inherited from RowUpdatedEventArgs) |
![]() | Status | (inherited from RowUpdatedEventArgs) |
![]() | TableMapping | (inherited from RowUpdatedEventArgs) |
| Name | Description | |
|---|---|---|
![]() | CopyToRows(array<DataRow>) | (inherited from RowUpdatedEventArgs) |
![]() | CopyToRows(array<DataRow>, Int32) | (inherited from RowUpdatedEventArgs) |
![]() | Equals | (inherited from Object) |
![]() | Finalize | (inherited from Object) |
![]() | GetHashCode | (inherited from Object) |
![]() | GetType | (inherited from Object) |
![]() | MemberwiseClone | (inherited from Object) |
![]() | ToString | (inherited from Object) |
The RowUpdated event is raised when an Update to a row is completed.
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.
Show:
