DataRowAction Enumeration
Describes an action performed on a DataRow.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: System.Data (in System.Data.dll)
| Member name | Description | |
|---|---|---|
| Add | The row has been added to the table. | |
| Change | The row has changed. | |
| ChangeCurrentAndOriginal | The original and the current versions of the row have been changed. | |
| ChangeOriginal | The original version of the row has been changed. | |
| Commit | The changes to the row have been committed. | |
| Delete | The row was deleted from the table. | |
| Nothing | The row has not changed. | |
| Rollback | The most recent change to the row has been rolled back. |
A DataRowAction is returned as part of the DataRowChangeEventArgs to indicate the action that was taken on a row to raise the event.
Use the members of this enumeration to determine the action that has occurred on a DataRow with regard to the DataTable to which it belongs.
Available since 1.1