Click here to Skip to main content
15,885,896 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
how insert Two Table Data In one Table in This process we Need Joining The Tables ?
Posted
Updated 28-Nov-13 10:13am
v2
Comments
Maciej Los 28-Nov-13 16:12pm    
Not clear... Please, be more specific and describe your issue.
Are you talking about Data.DataTable or database table?

1 solution

how about the merge command?

C#
var dt1 = new DataTable();
var dt2 = new DataTable();

dt1.Merge(dt2, true, MissingSchemaAction.Add);
 
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