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.
DataSet::Clear Method ()
.NET Framework (current version)
Clears the DataSet of any data by removing all rows in all tables.
Assembly: System.Data (in System.Data.dll)
If the DataSet is bound to an XmlDataDocument, calling DataSet::Clear or DataTable::Clear raises the NotSupportedException. To avoid this situation, traverse each table, removing each row one at a time.
.NET Framework
Available since 1.1
Available since 1.1
Show: