method Columns.Clear ()
Removes all objects in a collection.
Type
Description
Use the Clear method to remove all columns in the control. You can use
ToString
/
Count
to update the columns collection as well. Use the
Remove
method when you need to remove only a column.