method Columns.Clear ()
Removes all objects in a collection.

TypeDescription

Use the Clear method to remove all columns in the Columns collection. If the Clear method is called, the control removes also all items.  Use the Remove method to Remove a particular column. The Clear method calls RemoveColumn event for each column deleted. Use the RemoveAll method to remove all items in the control.