Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Double click a row in a datagridview

Status
Not open for further replies.

poliv

Programmer
Jun 3, 2000
48
0
0
US
Hi,
I have a form with a datagridview, and I want to double click a row and open a detail form.
My problem is that I can't find the double click event for a row, but only for the datagridview.
Another problem is that I can't "filter" the detail form to show the record selected in the datagridview.

Note: I have the VB.Net 2005 Express Beta 2

Thanks
 
In the RowEnter event, you can capture the row into a variable:
mintCurrentListRow = e.RowIndex

I believe this would occur before the DoubleClick event, so the row number should be available.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top