In order to view multiple (4 in this case) reports in one report viewer:
ReportBook rb = new ReportBook();
rb.Reports.Add(new SauOgrisReport());
rb.Reports.Add(new SauOgrisReport());
rb.Reports.Add(new SauOgrisReport());
rb.Reports.Add(new SauOgrisReport());
ReportViewer viewer = (ReportViewer)this.ReportContent.Controls[0];
viewer.Report = rb;
viewer.RefreshReport();
Hiç yorum yok:
Yorum Gönder