Click here to Skip to main content
14,699,541 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!!

I am trying to merge two datatables into one. The problem that i a facing is that when merging values from only one table is showing in the third table not from the second.

Dim dt1 As DataTable = ds.Tables("Mon")
      Dim dt2 As DataTable = ds.Tables("Vcr")
      Dim dtAll As DataTable = dt1.Copy()
      dtAll.Merge(dt2)

please tell me what's wrong ..
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900