Represents a customized view of a System.Data.DataRow.
See Also: DataRowView Members
Whenever data is displayed, such as in a System.Windows.Forms.DataGrid control, only one version of each row can be displayed. The displayed row is a System.Data.DataRowView.
A System.Data.DataRowView can have one of four different version states: Default, Original, Current, and Proposed.
After invoking DataRow.BeginEdit on a System.Data.DataRow, any edited value becomes the Proposed value. Until either DataRowView.CancelEdit or DataRowView.EndEdit is invoked, the row has an Original and a Proposed version. If DataRowView.CancelEdit is invoked, the proposed version is discarded, and the value reverts to Original. If DataRowView.EndEdit is invoked, the System.Data.DataRowView no longer has a Proposed version; instead, the proposed value becomes the current value. Default values are available only on rows that have columns with default values defined.