read from a datagrid and show in another

antonet

Newcomer
Joined
Jan 15, 2005
Messages
1
Hello,

i am new in asp.net and i am having a question:

I am having a datagrid_1 in which i am showing the context of
PatientDetails table. When the user double clicks on a row i want to
display on a new datagrid_2 (in the same form) the information which
corresponds to that patient, but from another table (Img table).
The two tables are connected throw a PK and a FK. How can i connect the two datagrids so as when the first datagrid is double clicked, the other one
will show the appropriate info?? and how shall i read the information of the row that has been clicked in general?

your answer will be very helpful for me..
 
Back
Top