Click here to Skip to main content
15,885,881 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear sir,

How to merge two datatables in asp.net,

In My project i am using dt.Merge(dt1)


But I get output is coming in tree way... Can u please solve my problem
Posted

C#
dtAll = dtOne.Copy();
dtAll.Merge(dtTwo);


Hope this helps
 
Share this answer
 

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