This documentation is archived and is not being maintained.
DataViewRowState Enumeration
Visual Studio 2010
Describes the version of data in a DataRow.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.DataAssembly: System.Data (in System.Data.dll)
| Member name | Description | |
|---|---|---|
![]() | None | No data. |
![]() | Unchanged | An unchanged row. |
![]() | Added | A new row. |
![]() | Deleted | A deleted row. |
![]() | ModifiedCurrent | A current version of original data that has been modified (see ModifiedOriginal). |
![]() | ModifiedOriginal | The original version of the data that was modified. (Although the data has since been modified, it is available as ModifiedCurrent). |
![]() | OriginalRows | Original rows including unchanged and deleted rows. |
![]() | CurrentRows | Current rows including unchanged, new, and modified rows. By default, DataViewRowState is set to CurrentRows. |
The DataViewRowState values are used either to retrieve a particular version of data from a DataRow, or to determine what versions exist.
Set the RowStateFilter property of the DataView to specify which version or versions of data you want to view.
You can use the Boolean operator Or with the values to get more than one version.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
