Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataRow::SetModified Method ()

 

Changes the P:System.Data.DataRow.Rowstate of a DataRow to Modified.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public:
void SetModified()

Changes the P:System.Data.DataRow.Rowstate of a DataRow to Modified. If the current row is not in either an Unchanged or an Added state, it throws an InvalidOperationException with the message that SetModified can only be invoked on a DataRow instance where the RowState is Unchanged.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft