DataRow.RowState Property Gets the current state of the row DataRowState Enumeration Detached:The row has been created but is not part of any DataRowCollection. A DataRow is in this state immediately after it has been created and before it is added to a collection, or if it has been removed from a collection.Unchanged:The row has not changed since AcceptChanges was last called.Added:The row has been added to a DataRowCollection, and AcceptChanges has not been called.Deleted: The row was deleted using the Delete method of the DataRow.Modified: The row has been modified and AcceptChanges has not been called.
Gets the current state of the row
DataRowState Enumeration
Detached:The row has been created but is not part of any DataRowCollection. A DataRow is in this state immediately after it has been created and before it is added to a collection, or if it has been removed from a collection.Unchanged:The row has not changed since AcceptChanges was last called.Added:The row has been added to a DataRowCollection, and AcceptChanges has not been called.Deleted: The row was deleted using the Delete method of the DataRow.Modified: The row has been modified and AcceptChanges has not been called.