Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            reportMonthly rpt = new reportMonthly();

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        public void dgvLoad(DataTable dt)
        {
            reportMonthly crpt = new reportMonthly();

            crpt.Database.Tables["monthlyReport"].SetDataSource(dt);

            crvDataTable.ReportSource = null;
            crvDataTable.ReportSource = crpt;
        }