Ejemplo n.º 1
0
 protected override void OnLoad(System.EventArgs e)
 {
     if (ReportType == "ManagerList")
     {
         ManagerCallSheet report = new ManagerCallSheet();
         CrystalReportViewer1.ReportSource = report;
     }
     if (ReportType == "MunicipalityList")
     {
         Municipalities report = new Municipalities();
         CrystalReportViewer1.ReportSource = report;
     }
     if (ReportType == "RetestList")
     {
         RetestList report = new RetestList();
         CrystalReportViewer1.ReportSource = report;
     }
     if (ReportType == "RetestLetters")
     {
         RetestLetters report = new RetestLetters();
         CrystalReportViewer1.ReportSource = report;
     }
 }
Ejemplo n.º 2
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     ManagerCallSheet rpt = new ManagerCallSheet();
     rpt.Site = this.Site;
     return rpt;
 }