DataGridView::DataGridViewControlCollection::Clear Method ()
.NET Framework (current version)
Removes all controls from the DataGridView.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The Clear method removes all controls from the DataGridView, except the scroll bars and the editing control.
.NET Framework
Available since 2.0
Available since 2.0
Show: