DataRowAction Enumeration
Describes an action performed on a DataRow.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.DataAssembly: System.Data (in System.Data.dll)
| Member name | Description | |
|---|---|---|
![]() ![]() | Nothing | The row has not changed. |
![]() ![]() | Delete | The row was deleted from the table. |
![]() ![]() | Change | The row has changed. |
![]() ![]() | Rollback | The most recent change to the row has been rolled back. |
![]() ![]() | Commit | The changes to the row have been committed. |
![]() ![]() | Add | The row has been added to the table. |
![]() ![]() | ChangeOriginal | The original version of the row has been changed. |
![]() ![]() | ChangeCurrentAndOriginal | The original and the current versions of the row have been changed. |
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.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
