This enumeration represents the different versions of a DataRow. You can access this enumeration with the indexer for the DataRow class. For example:

Console.Write(row["ID", DataRowVersion.Original]);

displays the original value of a row, which is the value retrieved from the data source. The Proposed value contains a value while the row is in edit mode (after DataRow.BeginEdit( ) has been called, or when a DataTable edit event is fired).

public enum DataRowVersion {

   Original = 256,

   Current = 512,

   Proposed = 1024,

   Default = 1536



System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) DataRowVersion

Returned By

DataRowView.RowVersion, IDataParameter.SourceVersion, System.Data.OleDb.OleDbPar-ameter.SourceVersion, System.Data.OracleClient.OracleParameter.SourceVersion, System.Data.SqlClient.SqlParameter.SourceVersion

Passed To

Multiple types

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.