member Delete : unit -> unit
of the row is Added, the RowState becomes RowState and the row is removed from the table when you call Detached . AcceptChanges
becomes RowState after you use the Deleted method on an existing Delete . It remains DataRow until you call Deleted . At this time, the AcceptChanges is removed from the table. DataRow should not be called in a foreach loop while iterating through a Delete object. DataRowCollection modifies the state of the collection. Delete
A deleted row can be undeleted by invoking
method temporarily suspends BeginEdit events, but the delete operation does not. RowChanging
The following example creates a simple
with two columns and ten rows. After deleting several DataTable items with the DataRow method, one of the rows is undeleted by invoking Delete . RejectChanges
No code example is currently available or this language may not be supported.
Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.