DataGridColumnCollection.Clear Method
.NET Framework 3.0
Removes all DataGridColumn-derived column objects from the DataGridColumnCollection collection.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Use this method to remove all DataGridColumn-derived column objects from the DataGridColumnCollection collection.
Note: |
|---|
| The Count property is automatically set to 0 after this method is used. |
Community Additions
ADD
Show:
Note: