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

            rpt.Site = this.Site;
            return(rpt);
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
        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;
        }