.NET Framework (current version)
Gets the state of a
This enumeration has a
FlagsAttribute attribute that allows a bitwise combination of its member values. Namespace:
System.Data (in System.Data.dll)
public enum class DataRowState
Member name Description Added Deleted Detached
The row has been created but is not part of any
DataRowCollection. A 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 Unchanged
DataRowState enumeration is returned by the property of the RowState DataRow class.
The following example first creates a new
DataTable with one column, then creates a single DataRow. As the DataRow is created, added, modified, and deleted, its is printed. RowState
No code example is currently available or this language may not be supported.
.NET Framework Available since 1.1 Return to top