datagrid column visible false c# code example Example: hide datagrid column c# this.dataGridView1.Columns["CustomerID"].Visible = false;