I have two DataTables dt1 and dt2. Each table have different data in them but they have a common column ReportID.
Is there a way of joining the datatables similar to a SQL Inner Join?
I have tried using DataRelation but it didn't work
Thanks
I have two DataTables dt1 and dt2. Each table have different data in them but they have a common column ReportID.
Is there a way of joining the datatables similar to a SQL Inner Join?
I have tried using DataRelation but it didn't work
Thanks
You could load your data tables into a DataSet and then you are free to create relations and query the data.
http://msdn.microsoft.com/en-us/library/ss7fbaez.aspx
Hope this helps