Information générale
Titre:
Master-detail using details view problem
Versions des environnements
Network:
Windows 2003 Server
I'm new to VB .NET programming and I'm stuck with this problem for the last 3 days. Any help is greatly appreciated.
I have two tables Master and Child. The tables are in a one to many relationship. I have a form which I should use to collect information for both the tables and also save the data.
The master table is set up as a details view and is linked to a binding navigator. I want to set up the child table also as a details view with its own binding navigator. I'm not sure how to do this. When I drag the child table onto the form as details view I cannot see any updates. But if I use the child table as datagridview then I'm able to insert, update and view the data without any problems. I cannot use a datagrid view due to the nature of data in the child table.
All the examples that I have seen uses the datagridview as the child for one to many relationships.Could someone please point me to an example or provide a direction to resolve this issue
Please advise.
Derek
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement