How to: Hide Columns in DataGridView Controls
You can hide columns in a DataGridView control programmatically or in the designer. Either way, you would set the Visible property of the column to false to hide it.
To hide a DataGridView column in the designer
Add a DataGridView control by using the Customers table from the Northwind database, as described in How to: Display Data by Using DataGridView Controls.
Click the ellipsis (…) button next to the Columns property.
The Edit Columns dialog box opens.
In the Edit Columns dialog box, select the second column (Company Name), then in the Bound Column Properties window, set the Visible property to False.
Click OK to close the dialog box.
Press F5 to run the code and verify that the Company Name column is hidden.
To hide a DataGridView column programmatically
this.customersDataGridView.Columns.Visible = false;
Press F5 to run the code.
Click inside the DataGridView control and verify that the Customer ID column is hidden.