how to hide some columns while showing in data grid code example Example: hide datagrid column c# this.dataGridView1.Columns["CustomerID"].Visible = false;