1
Reply

Merg Data Table

Feroz Khan

Feroz Khan

7 years ago
217
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)