I have two datatables and I want to to make a Cartesian mapping between the two datatables, using LINQ.
For example if I have Two datatables DT1 ,DT2:
DT1 :
1 A
2 B
3 C
DT2 :
1 D
2 E
3 F
I want the result:
A D
A E
A F
B D
B E
B F
C D
C E
C F
Try this:
Then fill
newDatatableinto a newDataTable.