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

            rpt.Site = this.Site;
            return(rpt);
        }
        void LoadViewCoThoiGian(string Tuyen, DateTime a, DateTime b)
        {
            BUS_ChuyenXe cx   = new BUS_ChuyenXe();
            DataTable    dt   = cx.LoadChuyenXeTheoThoiGian(Tuyen, a, b);
            CR_ChuyenXe  crCX = new CR_ChuyenXe();

            crCX.SetDataSource(dt);
            CRV_CX.ReportSource = crCX;
        }
        void LoadView(string a)
        {
            BUS_ChuyenXe cx   = new BUS_ChuyenXe();
            DataTable    dt   = cx.LoadChuyenXeTheoTuyen(a);
            CR_ChuyenXe  crCX = new CR_ChuyenXe();

            crCX.SetDataSource(dt);
            CRV_CX.ReportSource = crCX;
        }