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