subform in VB.net

  • Thread starter Thread starter HS1
  • Start date Start date
H

HS1

Hello all

I can create a DataGrid for a table through a DataSet using a connection
(learned from VB.net help). This table has a link with another table as
one-to-many. Could you please tell me how to create another DataGrid
presenting data of the second table (as a subform in Access).

Thank you
 
Hi
This is a master-details scenario. If you import the two tables into your
dataset, you can build a relation object (parent/child relation). Check out
the sample on this link.
http://www.codeproject.com/aspnet/HierDataGrid.asp
hope this helps
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top