Ejemplo n.º 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            BlockConstructPlan rpt = new BlockConstructPlan();

            rpt.Site = this.Site;
            return(rpt);
        }
 private void crystalReportViewer1_Load(object sender, EventArgs e)
 {
     BlockConstructPlan BCPR = new BlockConstructPlan();
     DataSet ds = GetDs();
     if (ds.Tables[0].Rows.Count != 0)
     {
         BCPR.SetDataSource(ds);
         crystalReportViewer1.ReportSource = BCPR;
     }
     crystalReportViewer1.DisplayGroupTree = false;
 }
Ejemplo n.º 3
0
        private void crystalReportViewer1_Load(object sender, EventArgs e)
        {
            BlockConstructPlan BCPR = new BlockConstructPlan();
            DataSet            ds   = GetDs();

            if (ds.Tables[0].Rows.Count != 0)
            {
                BCPR.SetDataSource(ds);
                crystalReportViewer1.ReportSource = BCPR;
            }
            crystalReportViewer1.DisplayGroupTree = false;
        }
Ejemplo n.º 4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     BlockConstructPlan rpt = new BlockConstructPlan();
     rpt.Site = this.Site;
     return rpt;
 }