how to hide columns displayed cell in datagridview in c# code example Example: hide datagrid column c# this.dataGridView1.Columns["CustomerID"].Visible = false;