System.Data.DataRowState Enumeration

Gets the state of a System.Data.DataRow object.

Syntax

[System.Flags]
public enum DataRowState

Remarks

The System.Data.DataRowState enumeration is returned by the DataRow.RowState property of the System.Data.DataRow class.

Members

Member NameDescription
Added

The row has been added to a System.Data.DataRowCollection, and DataRow.AcceptChanges has not been called.

Deleted

The row was deleted using the DataRow.Delete method of the System.Data.DataRow.

Detached

The row has been created but is not part of any System.Data.DataRowCollection. A System.Data.DataRow is in this state immediately after it has been created and before it is added to a collection, or if it has been removed from a collection.

Modified

The row has been modified and DataRow.AcceptChanges has not been called.

Unchanged

The row has not changed since DataRow.AcceptChanges was last called.

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