Describes the version of data in a
This enumeration has a
FlagsAttribute attribute that allows a bitwise combination of its member values.
public enum class DataViewRowState
Member name Description Added A new row. CurrentRows Current rows including unchanged, new, and modified rows. By default, is set to CurrentRows. DataViewRowState 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.
values are used either to retrieve a particular version of data from a DataViewRowState , or to determine what versions exist. DataRow
property of the RowStateFilter to specify which version or versions of data you want to view. DataView
You can use the Boolean operator Or with the values to get more than one version.
uses DataTable in the DataViewRowState method. Select
In the following example
is created with a single column. The data is changed, and the DataTable of the RowStateFilter is set to display different row sets, depending on the DataView . DataViewRowState
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
( 1500 characters remaining)
Thank you for your feedback