public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            PottingSummary rpt = new PottingSummary();

            rpt.Site = this.Site;
            return(rpt);
        }
 private void Reportviewer_Load(object sender, EventArgs e)
 {
     if (reportname == "PottingSummary")
     {
         ReportDocument PottingSummaryReport = new PottingSummary();
         PottingSummaryReport.SetDataSource(reportdata.Tables[0]);
         crViewer.ReportSource = PottingSummaryReport;
     }
     crViewer.Refresh();
 }
Ejemplo n.º 3
0
 private void Reportviewer_Load(object sender, EventArgs e)
 {
     if (reportname == "PottingSummary")
     {
         ReportDocument PottingSummaryReport = new PottingSummary();
         PottingSummaryReport.SetDataSource(reportdata.Tables[0]);
         crViewer.ReportSource = PottingSummaryReport;
     }
     crViewer.Refresh();
 }
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     PottingSummary rpt = new PottingSummary();
     rpt.Site = this.Site;
     return rpt;
 }