Quote:If you don't want to have a row header, set the "RowHeadersVisible" property of datagridview to false as given below: dataGridView1.RowHeadersVisible = false; If you want to set a different color to row header, use the code below: dataGridView1.RowHeadersDefaultCellStyle.BackColor = Color.Red; dataGridView1.EnableHeadersVisualStyles = false;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)