c# - Assign Multiple Data tables to single DevExpress Report, ASP.Net -


i have 3 data-tables, having different columns. want show 3 datatables in single devexpress report. new devexpress step-by-step explanation highly appreciated.

i have tried following code:

report.begininit();         report.beginupdate();         report.datamember = "[contract no]";  // column [contract no] common in 3 datatables         report.datasource = initial; //"initial" datatable1          detailreportband initialreport = report.bands["detailreport"] detailreportband;         initialreport.datasource = initial;         detailreportband surv1 = report.bands["detailreport"]   detailreportband;         surv1.datasource = dt; // "dt" datatable2         detailreportband surv2report = report.bands["detailreport"] detailreportband;         surv2report.datasource = surv2; //"surv2" datatable3          report.filldatasource();         report.createdocument();         aspxdocumentviewer1.report = report; 

here 'report' instance of external class used create devexpress report.

thank in advance.


Comments