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

            rpt.Site = this.Site;
            return(rpt);
        }
 public void ShowChi(int thang, int nam)
 {
     DataTable dt = tChi.SetData(thang, nam);
     RPT.rptTonghopchi rpt = new RPT.rptTonghopchi();
     rpt.SetDataSource(dt);
     crystalReportViewer1.ReportSource = rpt;
     crystalReportViewer1.Refresh();
     dt.Clear();
 }
Exemplo n.º 3
0
        public void ShowChi(int thang, int nam)
        {
            DataTable dt = tChi.SetData(thang, nam);

            RPT.rptTonghopchi rpt = new RPT.rptTonghopchi();
            rpt.SetDataSource(dt);
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Refresh();
            dt.Clear();
        }
Exemplo n.º 4
0
 public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
 {
     rptTonghopchi rpt = new rptTonghopchi();
     rpt.Site = this.Site;
     return rpt;
 }