| |||||||||||
DataTableCollection.Clear MethodSystem.Data Namespace DataTableCollection Class Clears the collection of all tables. [ VB ] Public Sub Clear ( ) [ C# ] void Clear ( ); [ C++ ] public: void Clear ( ); [ JScript ] public function Clear ( ); Exceptions
RemarksUse this method to remove all DataTable objects from a given DataSet.Tables collection. To remove a particular DataTable from the collection, use the Remove method. This method resets the Tables.Count property to 0. ExampleThe following example gets the DataTableCollection of a given DataSet, then clears the collection.
See AlsoDataTableCollection Members Add Remove |
| ||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme