public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { SendOrderReport rpt = new SendOrderReport(); rpt.Site = this.Site; return(rpt); }
protected void Page_Load(object sender, EventArgs e) { SendOrderReportData ds = new SendOrderReportData(); if (Session["SendOrderReportData"] != null) { ds = Session["SendOrderReportData"] as SendOrderReportData; } SendOrderReport objRpt = new SendOrderReport(); objRpt.SetDataSource(ds); this.CrystalReportViewer1.ReportSource = objRpt; this.CrystalReportViewer1.RefreshReport(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { SendOrderReport rpt = new SendOrderReport(); rpt.Site = this.Site; return rpt; }