10
Answers

merge two datatable into third as columns c#

Hi i have two data tables dt1 and dt2. I would like to merge them into third table which is dtfinal.
 
dt1 contain
 
id
----- ---
1
2
3
 
dt2 contain
 
name
----------- 
muke
mike
joel 
 
i want dtfinal output as
 
id    name
-------------------- 
1     muke
2     mike
3     joel 
 
how can i get this, please suggest 
 
Answers (10)