this.dataGridView1.Columns["ID"].Visible = false;
this.dataGridView1.Columns["CustomerID"].Visible = false;
//Set the RowHeadersVisible to False in the GridView (it's a property)
//Or By Code:
DatagridView.RowHeadersVisible = false;
dataGridView1.ColumnHeadersVisible = false;