mukesh salaria

mukesh salaria

  • NA
  • 20
  • 36k

merge two datatable into third as columns c#

Aug 20 2014 10:39 AM
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)