Пример #1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            rptTonghopthu rpt = new rptTonghopthu();

            rpt.Site = this.Site;
            return(rpt);
        }
 public void ShowThu(int thang, int nam) {
     DataTable dt = tThu.SetData(thang, nam);
     RPT.rptTonghopthu rpt = new RPT.rptTonghopthu();
     rpt.SetDataSource(dt);
     crystalReportViewer1.ReportSource = rpt;
     crystalReportViewer1.Refresh();
     dt.Clear();
 }
Пример #3
0
        public void ShowThu(int thang, int nam)
        {
            DataTable dt = tThu.SetData(thang, nam);

            RPT.rptTonghopthu rpt = new RPT.rptTonghopthu();
            rpt.SetDataSource(dt);
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Refresh();
            dt.Clear();
        }
Пример #4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     rptTonghopthu rpt = new rptTonghopthu();
     rpt.Site = this.Site;
     return rpt;
 }