How to get the row index of the Datagridview when mouse drag over it?
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
When mouse over the datagridview , I could get the X,Y value . How to get the row index ? Thanks a lot.
Change the HoverEvent property of the grid to true and get the item index that will be row index for grid Private Sub NhsListViewGrid1_HoverEvent(ByVal source As Object, ByVal e As GlacialComponents.Controls.HoverEventArgs) Handles NhsListViewGrid1.HoverEvent MsgBox(e.ItemIndex()) End Sub milan