| |||||||
DataGridColumnCollection.Clear MethodSystem.Web.UI.WebControls Namespace DataGridColumnCollection Class Removes all DataGridColumn objects from the collection. [ VB ] Public Sub Clear ( ) [ C# ] public void Clear ( ); [ C++ ] public: void Clear ( ); [ JScript ] public function Clear ( ); RemarksUse this method to remove all DataGridColumn derived column objects from the DataGridColumnCollection.
ExampleThe following example demonstrate how to use the Clear method to empty the DataGridColumnCollection before adding new columns to the collection.
See AlsoDataGridColumnCollection Members |
| ||||||
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