Uredi

Deli z drugimi prek


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 the Unchanged state, this 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