DataRow.SetModified DataRow.SetModified DataRow.SetModified DataRow.SetModified Method

Definition

Changes the RowState of a DataRow to Modified.

public:
 void SetModified();
public void SetModified ();
member this.SetModified : unit -> unit
Public Sub SetModified ()

Remarks

Changes the 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.

Applies to

See also