nondrinker
Programmer
Hello,
I have a datagrid populated with records, with OrderID being the left most column.
On the Double click event, I am trying to pass the value of the selected orderID to a class. In that class i have my SQL query which i am building based on the orderid passed from the datagrid.
On the double click event, i have this code and in the message box i do see the correct orderid, for each row:
******************************
varOrderid = grdRecordsListing.Item(grdRecordsListing.CurrentRowIndex, 0)
MsgBox(varOrderid)
*******************************
But i am trying to pass this variable, "varOrderid" to my class, by double clicking on a specific datagrid row.
Any suggestions?
Thank you.
I have a datagrid populated with records, with OrderID being the left most column.
On the Double click event, I am trying to pass the value of the selected orderID to a class. In that class i have my SQL query which i am building based on the orderid passed from the datagrid.
On the double click event, i have this code and in the message box i do see the correct orderid, for each row:
******************************
varOrderid = grdRecordsListing.Item(grdRecordsListing.CurrentRowIndex, 0)
MsgBox(varOrderid)
*******************************
But i am trying to pass this variable, "varOrderid" to my class, by double clicking on a specific datagrid row.
Any suggestions?
Thank you.