I would like to know how to change the color of a whole line of DataGridView
. I have a code below, but it only changes the color of a particular column, and I would like it to change the color of all the columns of the same row.
DataGridView.CurrentRow.Cells[0].Style.BackColor = Color.Yellow;