there are two datables as below:
dt1:
dt2:
Newdatatable dt3 should look like this:
Thankyou !
there are two datables as below:
dt1:
dt2:
Newdatatable dt3 should look like this:
Thankyou !
Follow the steps
Dt2.Columns(0).ColumnName = "Col1"
"Col1"
finaldt.Columns(0).ColumnName = "Col8"
Cheers
take two assign activities
dt1.DefaultView.ToTable(False,“Col1”)
dt2.DefaultView.ToTable(False,“Col5”)
dt1.AsEnumerable.Concat(dt2.AsEnumerable).CopyToDataTable
you can also use this
assign
dt1.DefaultView.ToTable(false,“Col1”).AsEnumerable.Concat(dt2.DefaultView.ToTable(false,“Col5”).AsEnumerable).CopyToDataTable
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.