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.Data
Assembly: System.Data (in

public enum DataRowAction
/** @attribute FlagsAttribute() */ 
public enum DataRowAction
public enum DataRowAction

 Member nameDescription
Supported by the .NET Compact FrameworkAddThe row has been added to the table. 
Supported by the .NET Compact FrameworkChangeThe row has changed. 
Supported by the .NET Compact FrameworkChangeCurrentAndOriginalThe original and the current versions of the row have been changed. 
Supported by the .NET Compact FrameworkChangeOriginalThe original version of the row has been changed. 
Supported by the .NET Compact FrameworkCommitThe changes to the row have been committed. 
Supported by the .NET Compact FrameworkDeleteThe row was deleted from the table. 
Supported by the .NET Compact FrameworkNothingThe row has not changed. 
Supported by the .NET Compact FrameworkRollbackThe 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.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0