U can use below on form load event
DataGridViewCheckBoxColumn chk = new DataGridViewCheckBoxColumn();
chk.HeaderText = "Check Data";
chk.Name = "chk";
dataGridView1.Columns.Add(chk);
then on to change coor on checkbox click put code on
cellmouseclick
.
if (dataGridView1.Rows[e.RowIndex].Cells["chk"].Value == true)
{
for(int i=0;i < dataGridView1.Rows[e.RowIndex].Cells.Count; i++)
{
dataGridView1.Rows[e.RowIndex].Cells[i].Style.BackColor = Color.Green;
}
}
hope it helps u out.