DataGridViewColumnCollection.Remove Method (DataGridViewColumn)
Removes the specified column from the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
dataGridViewColumn is not in the collection.
dataGridViewColumn is null.
The associated DataGridView control is performing one of the following actions that temporarily prevents new columns from being added:
This method is being called from a handler for one of the following DataGridView events:
To remove a column that is automatically generated when binding to a data source, call this method in a DataGridView.DataBindingComplete event handler.
Available since 2.0