I’m trying to join two datatables of same keyfields.
table1
ID Class
---- -----
1 10
2 9
table2
ID Class
---- -----
1 8
2 7
Result
ID Class1 Class2
1 10 8
2 9 7
following is code for joining between user and userclients you can replace your table and get the result of join
Follwing image is for the c# but will give you idea in detail
if you are beginner you can look this :
SQL to LINQ ( Visual Representation )