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