OP wrote:
I need to show both on one by one or side by side.
In this case put 2 crystalreportviewers in your page, load a
report
for a
crystalreportviewer
, that's all.
<cr:crystalreportviewer id="rptviewer1" runat="server" xmlns:cr="#unknown" />
<cr:crystalreportviewer id="rptviewer2" runat="server" xmlns:cr="#unknown" />
Sample code
ReportDocument cryRpt1 = new ReportDocument();
cryRpt1.Load("CrystalReport1.rpt");
crystalReportViewer1.ReportSource = cryRpt1;
crystalReportViewer1.Refresh();
ReportDocument cryRpt2 = new ReportDocument();
cryRpt1.Load("CrystalReport2.rpt");
crystalReportViewer2.ReportSource = cryRpt2;
crystalReportViewer2.Refresh();