DataViewRowState Enumeration
Describes the version of data in a DataRow.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: System.Data (in System.Data.dll)
| Member name | Description | |
|---|---|---|
| Added | A new row. | |
| CurrentRows | Current rows including unchanged, new, and modified rows. By default, DataViewRowState is set to CurrentRows. | |
| 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). | |
| None | None. | |
| OriginalRows | Original rows including unchanged and deleted rows. | |
| Unchanged | An unchanged row. |
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.
Available since 1.1