G
Guest
I have some buttons that increment and decrement the index of a DataGridView.
The code below gets the updated index value. The code below highlights the
first column of the current row.
dataGridView1.CurrentCell = dataGridView1[0, index];
This is almost exactly what I want. I'd really prefer it if the code above
could highlight the entire row, rather than just the first column.
Any suggestions on how to modify the code above to highlight the current
row, rather than just the first column of the current row?
Thanks,
The code below gets the updated index value. The code below highlights the
first column of the current row.
dataGridView1.CurrentCell = dataGridView1[0, index];
This is almost exactly what I want. I'd really prefer it if the code above
could highlight the entire row, rather than just the first column.
Any suggestions on how to modify the code above to highlight the current
row, rather than just the first column of the current row?
Thanks,