hello,
i used datagrid view having columns 11 and rows 10
i used cell click event
if (dataGridView1[e.ColumnIndex, e.RowIndex].Style.BackColor == Color.Empty)
dataGridView1[e.ColumnIndex, e.RowIndex].Style.BackColor = Color.Black;// 0x7D0000255;
else
dataGridView1[e.ColumnIndex, e.RowIndex].Style.BackColor = Color.Empty;
but its apply all 11 columns but i want apply this code only 10 columns last 11 columns i use numbers only
help me.