Hi Guys,
I searched a few posts but I couldn't find the exact thing that I need. In most places they are retriving the RowIndex by click event with e DataGridViewCellEventArg like "RwIndx = e.RowIndex".
But the row might heve been selected through navigation, not mouse click.
Briefly, how to get directly selected row's index number?
Thanks a lot!
I searched a few posts but I couldn't find the exact thing that I need. In most places they are retriving the RowIndex by click event with e DataGridViewCellEventArg like "RwIndx = e.RowIndex".
But the row might heve been selected through navigation, not mouse click.
Briefly, how to get directly selected row's index number?
Thanks a lot!