double click event on a datagridview to populate a second form.

Newander

New member
Joined
Oct 24, 2008
Messages
4
Programming Experience
Beginner
Hello guys,

I have a main form that connects to a ODBC OLE DB Provider and uses the PostgerSQL ODBC driver.

I've created a search form, with a basic datagridview and a simple query.

The problem is that when I execute my query, and the record I need is displayed in the datagridview, I also need to be able to double click on that record and have it open the main form back up with that record selected.

I'm assuming I need a double click event that some how stores the value of that row as a string.

Basically I just need it to take the Job Id (primary key) and call up said ID on the main form.

Can somebody help me out here?

Thx,

Newander
 
Back
Top