DataRowAction Enumeration
TOC
Collapse the table of content
Expand the table of content

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 System.Data.dll)

[FlagsAttribute]
public enum DataRowAction

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.

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft