示例#1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            CR_Ve rpt = new CR_Ve();

            rpt.Site = this.Site;
            return(rpt);
        }
示例#2
0
        void LoadCRViewTheoChuyen(string idchuyen)
        {
            BUS_Ve    ve   = new BUS_Ve();
            DataTable dt   = ve.LoadVeTheoChuyen(idchuyen);
            CR_Ve     crVe = new CR_Ve();

            crVe.SetDataSource(dt);
            CRV_CX.ReportSource = crVe;
        }
示例#3
0
        void LoadCRView()
        {
            BUS_Ve    ve   = new BUS_Ve();
            DataTable dt   = ve.LoadVe();
            CR_Ve     crVe = new CR_Ve();

            crVe.SetDataSource(dt);
            CRV_CX.ReportSource = crVe;
        }
示例#4
0
 void LoadCRViewTheoTG()
 {
     if (cbChuyenXe.SelectedItem.ToString() == "ALL")
     {
         MessageBox.Show("Chọn Chuyến Cụ Thể Để Report Theo Ngày");
         return;
     }
     else
     {
         BUS_Ve    ve   = new BUS_Ve();
         DataTable dt   = ve.LoadVeTheoTG(cbChuyenXe.SelectedItem.ToString(), dpBatDau.Value, dpKetThuc.Value);
         CR_Ve     crVe = new CR_Ve();
         crVe.SetDataSource(dt);
         CRV_CX.ReportSource = crVe;
     }
 }