Feroz Khan

Feroz Khan

  • 1.4k
  • 300
  • 91.9k

Merg Data Table

May 23 2017 11:31 AM
I have 4 Tables that 4 tables i am going to show data from Database in DataTable and i have one gridview also that 4 Data Table Data i want to in Gridview All Record should be same columns All tables have 5 columns. how can i do that please help me.. 
 
 i am using below code data is coming but sequence is not correct sequence is showing like attached file.. 
 
DataTable dt = new DataTable();
dt = dtPOS.Copy();
dt.Merge(dtPDA);
dt.Merge(dtTGT);
dt.Merge(dtTGTP);
gridview_HandoverForm.DataSource = dt;
 

Attachment: datatable.rar

Answers (1)