c# datagridview column header hide code example Example: c# datagridview hide header dataGridView1.ColumnHeadersVisible = false;