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