Hi All,
Could you please let me know how to merge columns of two datatables and convert to excel.
Steps which I followed.
1.DT1 = Name ,Id
2.DT2=Status, Company
3. Used Merge datatable to merge DT1 and DT2.
4.Write range excel to convert datatable to excel.
Result I got in excel is
Name Id Status Company
aa 01
bb 02
Success abc
pending xyz
Expected result in excel is:
Name Id Status company
aa 01 Success abc
bb 02 pending xyz
Could you please help on this.