Get result of doubleclick of datagridview1 row

In VB.2005, I have a datagridview with the select entire row option activated, I would like to get trhe value a particular cell in a row when the row is doubleclicked.  .  I have tried -
DataGridView1.Rows(e.RowIndex).Cells(e.ColumnIndex).Value
But I get the error - ColumnIndex' is not a member of 'System.EventArgs
Any help would be appreciated
LVL 2
PNRTAsked:
Who is Participating?
 
CodeCruiserConnect With a Mentor Commented:
You need

Dim value and integer = DataGridView1.SelectedRows(0).Cells(index).Value
0
 
PNRTAuthor Commented:
Perfect
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.