DataTable joins

  • Thread starter Thread starter J055
  • Start date Start date
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
 
I would suggest using Merge. If merging the two tables does not give you
what you want, use a DataSet.Merge and MissingSchemaAction.Add.
 
Back
Top