DataRowAction DataRowAction DataRowAction DataRowAction Enum


Describes an action performed on a DataRow.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class DataRowAction
public enum DataRowAction
type DataRowAction = 
Public Enum DataRowAction


Add Add Add Add 16

The row has been added to the table.

Change Change Change Change 2

The row has changed.

ChangeCurrentAndOriginal ChangeCurrentAndOriginal ChangeCurrentAndOriginal ChangeCurrentAndOriginal 64

The original and the current versions of the row have been changed.

ChangeOriginal ChangeOriginal ChangeOriginal ChangeOriginal 32

The original version of the row has been changed.

Commit Commit Commit Commit 8

The changes to the row have been committed.

Delete Delete Delete Delete 1

The row was deleted from the table.

Nothing Nothing Nothing Nothing 0

The row has not changed.

Rollback Rollback Rollback Rollback 4

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.

Applies to

See also