DataRowCollection::Clear Method ()
.NET Framework (current version)
Clears the collection of all rows.
Assembly: System.Data (in System.Data.dll)
| Exception | Condition |
|---|---|
| InvalidConstraintException | A ForeignKeyConstraint is enforced on the DataRowCollection. |
.NET Framework
Available since 1.1
Available since 1.1
Show: