Combined data tables with no reference column

@wth1993
With the constraint that all datatables have the same row count here we go:
Variables:
grafik

Preparing dtResult by Merging all DataColumn Structures:
grafik

Doing the Merge / Combination

Result:
grafik

As an alternate it can be done with a LINQ:
Merging we do the same way as above (dtResult was cloned therefore)
grafik

Find starter Help here:
MergeDataTables_SideBySide.xaml (17.2 KB)

1 Like