Describes the version of data in a System.Data.DataRow.
The System.Data.DataViewRowState values are used either to retrieve a particular version of data from a System.Data.DataRow, or to determine what versions exist.
Set the DataView.RowStateFilter property of the System.Data.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.
The System.Data.DataTable uses System.Data.DataViewRowState in the DataTable.Select method.
Member Name | Description |
---|---|
Added |
A new row. |
CurrentRows |
Current rows including unchanged, new, and modified rows. By default, System.Data.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. |