DataTable joins

J

J055

Hi

I have two different DataTables populated with rows from separate queries.
They both share the same column ID. I would like to create a new DataTable
where the rows in both tables match, i.e. like using an SQL inner join.

What would be a good approach to solving this?

Many thanks
Andrew
 
E

Earl

I would suggest using Merge. If merging the two tables does not give you
what you want, use a DataSet.Merge and MissingSchemaAction.Add.
 

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

Top