DekGenius.com
[ Team LiB ] Previous Section Next Section

DataRowVersion serializable

System.Data (system.data.dll) enum

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
}

Hierarchy

System.Object figs/U2192.gif System.ValueType figs/U2192.gif System.Enum(System.IComparable, System.IFormattable , System.IConvertible) figs/U2192.gif 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

    [ Team LiB ] Previous Section Next Section