Hi,
You need to make use of the row the current row, but
CurrentRow
is
readonly
, so setting the current cell has the desired effect.
DataGridView.CurrentCell Property[
^]
You could also handle this event:
public event EventHandler SelectionChanged
which will notify you if the current selection has changed. This way you can test if the selection has changed.
Kind regards,