DataRowState serializable, flag

DataRowState serializable, flag

System.Data (system.data.dll) enum

This enumeration indicates the state of a row (returned by the DataRow.RowState property). Added indicates a row inserted into the DataTable but not yet committed to the data source. Deleted indicates the row was deleted, but the change has not been applied to the data source, and Modified indicates the row has been edited but the changes have not been committed. Detached indicates a new row (created with DataTable.NewRow( ) ) but not yet inserted into the table (with DataRowCollection.Add( ) ).

 public enum  DataRowState  {  Detached = 0x00000001  ,  Unchanged = 0x00000002  ,  Added = 0x00000004  ,  Deleted = 0x00000008  ,  Modified = 0x00000010  } 

Hierarchy

System.Object figs/u2192.gif System.ValueType figs/u2192.gif System.Enum(System.IComparable, System.IFormattable , System.IConvertible) figs/u2192.gif DataRowState

Returned By

DataRow.RowState

Passed To

DataSet.{GetChanges( ) , HasChanges( )} , DataTable.GetChanges( )



ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net