Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27329

VS 2012 [RESOLVED] Retrive the RowIndex of DataGridView

$
0
0
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!

Viewing all articles
Browse latest Browse all 27329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>