asp.net.ph

DataRow.RowState Property

System.Data Namespace   DataRow Class


Returns the current state of the row with regards to its relationship to the DataRowCollection.

Syntax


Script [ DataRowState variable = ] DataRow.RowState

Property Value

One of the DataRowState values.

The property is read only with no default value.

Remarks

The value of the RowState depends on two factors:

  1. the kind of operation that has been performed on the row, and
  2. whether or not AcceptChanges has been called on the DataRow.

The DataRowState enumeration summarizes the possible values according to the changes.

The RowState property is used in conjunction with the GetChanges and HasChanges methods of the DataSet.

See Also

DataRow Members   AcceptChanges   BeginEdit   Add   CancelEdit   DataTable   DataRowView   Delete   EndEdit   NewRow Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph