예제 #1
0
 private void LoadDiverTraffic()
 {
     try
     {
         HPS.BLL.DriverBLL.BLLDriver_TFactory DriverFactory = new HPS.BLL.DriverBLL.BLLDriver_TFactory();
         DataTable DriverDataTable = new DataTable();
         DriverFactory.GetByCardNumber(_DriverCardNumber, ref DriverDataTable);
         this.DriverGridView.DataSource = DriverDataTable;
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
예제 #2
0
 public static void LoadData()
 {
     HPS.BLL.CarBLL.BLLCar_TFactory       CarFactory    = new HPS.BLL.CarBLL.BLLCar_TFactory();
     HPS.BLL.DriverBLL.BLLDriver_TFactory DriverFactory = new HPS.BLL.DriverBLL.BLLDriver_TFactory();
     try
     {
         if (_CarDataTable == null)
         {
             _CarDataTable = new DataTable();
         }
         CarFactory.GetByPlate(string.Empty, ref _CarDataTable);
         if (_DriverDataTable == null)
         {
             _DriverDataTable = new DataTable();
         }
         DriverFactory.GetByCardNumber(string.Empty, ref _DriverDataTable);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }