DataGridViewColumnCollection.Add Method (String, String)
Adds a DataGridViewTextBoxColumn with the given column name and column header text to the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
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:
Available since 2.0