I have tried to append rows of by cloumns, the original data looks like this
Datatable1
Name Date1 Cost1
A 2013-03-25 1,923,245.06
B 2015-06-04 4,104,660.00
C 2015-09-10 771,540.00
D 2013-07-19 1,917,441.27
E 2015-06-02 - 1,261,474.52
F 2015-07-27
Datatable2
Date2 Cost2
A 2017-10-16 392,073.48
B 2017-10-16 392,073.48
C 2016-10-14 476,390.88
D 2016-07-28 153,216.00
E 2015-09-29 47,151.00
F 47,151.00
and I want it to look like this,
Name Date Cost
A 2013-03-25 1,923,245.06
B 2015-06-04 4,104,660.00
C 2015-09-10 771,540.00
D 2013-07-19 1,917,441.27
E 2015-06-02 - 1,261,474.52
F 2015-07-27
A 2017-10-16 392,073.48
B 2017-10-16 392,073.48
C 2016-10-14 476,390.88
D 2016-07-28 153,216.00
E 2015-09-29 47,151.00
F 47,151.00
pls help me
That’s a good question
Once after getting the second datatable
Change the column name with assign activity like this Dt2.Columns(“yourcolumnname”).ColumnName = “same column name in Dt1”
Similarly for other columns as well with assign activity
Sometimes is just better to do the easy way, just create a new datatable and one for each for each of your source datatables, the use add data row and add them all to the new datatable…
i dont want to create
new column
first first data table is master data table
i need to append condition wise
data table 1
column 1 - Candidate_Name
data table 2
column 1 - Name
data table 6
column 1-full_name
like this for all column
thanks