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::SetAdded Method ()
.NET Framework (current version)
Changes the P:System.Data.DataRow.Rowstate of a DataRow to Added.
Assembly: System.Data (in System.Data.dll)
Changes the RowState of a DataRow to Added. If the current row is not in either an Unchanged or an Added state, it throws an InvalidOperationException with the message that SetAdded can only be invoked on a DataRow instance where the RowState is Unchanged.
.NET Framework
Available since 2.0
Available since 2.0
Show: