Click here to Skip to main content
15,945,119 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,
I have these two tables from ms access showing in my datasources tree so I drag the master table and it loads just fine, but when dragging the details table from inside the masters tree, it just doesn't bound!!. It does insert new entries though, but doesn't load those records that are actually bound to the selected row in the master table.

Please help.
please. I don't want to code that as it's convenient to see the datagridview columns in the design time.
Posted
Updated 14-Apr-11 4:50am
v2

1 solution

Have you added the relationship between the 2 datatables?

You are not clear how you are managing the datasources of the 2 DGVs
 
Share this answer
 
Comments
Muammar© 17-Apr-11 7:47am    
Holmes, my database hero ;)
How are you doing mate?? You see, I've been away from developing for a while, and now, i can't remember how to do this..
I simply used the database wizard to add a connection and then dragged the parent table into the form and the relative child table that is branched from the parent's tree (right there in the data sources pane.. Can you please try that at your end and tell me why it's not working??

Many thanks Holmes.

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