| |||||||||||
DataRowCollection.Clear MethodSystem.Data Namespace DataRowCollection Class Clears the collection of all rows. [ VB ] Public Sub Clear ( ) [ C# ] void Clear ( ); [ C++ ] public: void Clear ( ); [ JScript ] public function Clear ( ); Exceptions
RemarksUse this method to remove all DataRow objects from the Rows collection of a specified table. This method resets the Rows.Count property to 0. ExampleThe following example clears a DataRowCollection of all items.
See AlsoDataRowCollection 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