Two datatables

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a dataset that was created from an xml file. That dataset has two
tables.
I would like to create a third datatable that brings some of the fields from
each datatable together.
Then I need to bind the newly created datatable to a datagrid.
Is this the only way to do what I need? Is there a way to bind the datagrid
to two different datatables?
 
MTmace,

Do you want the data to be showed hierachic or as one row?

In other words is there a one to more relation or is it one to one?

Cor
 
There is a one to one relationship, so I would like them to all show up
in the same row.

MTmace
 
MTmace,
There is a one to one relationship, so I would like them to all show up
in the same row.
Than I would do it in the same way as you suggest.

Cor
 

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