public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { TrayInstallPlan rpt = new TrayInstallPlan(); rpt.Site = this.Site; return(rpt); }
private void crystalReportViewer1_Load(object sender, EventArgs e) { TrayInstallPlan TIP = new TrayInstallPlan(); DataSet ds = GetDs(); if (ds.Tables[0].Rows.Count != 0) { TIP.SetDataSource(ds); crystalReportViewer1.ReportSource = TIP; } }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { TrayInstallPlan rpt = new TrayInstallPlan(); rpt.Site = this.Site; return rpt; }