public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ProjectPipeProgress rpt = new ProjectPipeProgress(); rpt.Site = this.Site; return(rpt); }
private void crystalReportViewer1_Load(object sender, EventArgs e) { DataSet ds = GetDs(); if (ds.Tables[0].Rows.Count != 0) { ProjectPipeProgress ProPipePrg = new ProjectPipeProgress(); ProPipePrg.SetDataSource(ds); crystalReportViewer1.ReportSource = ProPipePrg; } }
private void toolStripComboBox1_DropDownClosed(object sender, EventArgs e) { DataSet ds = GetDs(); if (ds.Tables[0].Rows.Count != 0) { ProjectPipeProgress ProPipePrg = new ProjectPipeProgress(); ProPipePrg.SetDataSource(ds); crystalReportViewer1.ReportSource = ProPipePrg; } ds.Dispose(); }
public ProjectPipeProgressRpt() { InitializeComponent(); ProjectBind(); crystalReportViewer1.DisplayGroupTree = false; DataSet ds = GetDs(); if (ds.Tables[0].Rows.Count != 0) { ProjectPipeProgress ProPipePrg = new ProjectPipeProgress(); ProPipePrg.SetDataSource(GetDs()); crystalReportViewer1.ReportSource = ProPipePrg; } ds.Dispose(); }
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { ProjectPipeProgress rpt = new ProjectPipeProgress(); rpt.Site = this.Site; return rpt; }