Showing posts with label datatable. Show all posts
Showing posts with label datatable. Show all posts

Tuesday, 26 April 2011

How to append one DataTable to another DataTable

DataTable dtAttach = new DataTable();

DataTable dtQuantity= new DataTable();

DataTable dtPrice= new DataTable();

dtAttach = dtQuantity.Copy();
dtAttach.Merge(dtPrice, true);

how to join two datatable datas into one datatable to show in one gridview in asp.net

DataTable dtAttach = new DataTable();

DataTable dtQuantity= new DataTable();

DataTable dtPrice= new DataTable();

dtAttach = dtQuantity.Copy();
dtAttach.Merge(dtPrice, true);