DataRowAction Enum

Definition

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
[System.Flags]
public enum DataRowAction
type DataRowAction = 
Public Enum DataRowAction
Inheritance
DataRowAction
Attributes

Fields

Add 16

The row has been added to the table.

Change 2

The row has changed.

ChangeCurrentAndOriginal 64

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

ChangeOriginal 32

The original version of the row has been changed.

Commit 8

The changes to the row have been committed.

Delete 1

The row was deleted from the table.

Nothing 0

The row has not changed.

Rollback 4

The most recent change to the row has been rolled back.

Remarks

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