how to hide column in datagridview in vb.net code example
Example 1: c# datagridview hide column
this.dataGridView1.Columns["ID"].Visible = false;
Example 2: hide datagrid column c#
this.dataGridView1.Columns["CustomerID"].Visible = false;
this.dataGridView1.Columns["ID"].Visible = false;
this.dataGridView1.Columns["CustomerID"].Visible = false;