Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone ,

my question is showing data from 2 tables on 2 different datagridviews on same form.to make it more clear,i display data which i want from database on datagridview1 with one textbox .here is no problem.but i want to display detailed of data on datagridview2 from different table when i clicked a row on datagridview1.these two different have same column,i tried call data via that column

thanks
Posted
Updated 29-Apr-14 22:48pm
v2
Comments
gggustafson 30-Apr-14 9:31am    
Provide code so that we can see what you are doing.
ZurdoDev 30-Apr-14 12:36pm    
Where are you stuck? On the row selection event of the first filter the second grid.

1 solution

thnx for ur care ;) i found a solution for my problem. i used dataGridView1_Click event and use if statement to get detailed info when i clicked on dataGridView1,it connects to other table and get data on dataGridView2 :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900