System.Data.DataRowAction Enumeration

Describes an action performed on a System.Data.DataRow.

Syntax

[System.Flags]
public enum DataRowAction

Remarks

A System.Data.DataRowAction is returned as part of the System.Data.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 System.Data.DataRow with regard to the System.Data.DataTable to which it belongs.

Members

Member NameDescription
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.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0