Beispiel #1
0
 private void LoadAllDrivers()
 {
     try
     {
         HPS.BLL.DriverBLL.BLLDriver_TFactory DriverFactory = new HPS.BLL.DriverBLL.BLLDriver_TFactory();
         DataTable DriverDataTable = new DataTable();
         DriverFactory.GetAll(ref DriverDataTable);
         this.DriverGridView.DataSource = DriverDataTable;
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 private void LoadDriver()
 {
     try
     {
         HPS.BLL.DriverBLL.BLLDriver_TFactory DriverFactory = new HPS.BLL.DriverBLL.BLLDriver_TFactory();
         DataTable DriverDataTable = new DataTable();
         DriverFactory.GetAll(ref DriverDataTable);
         this.DriverGridView.DataSource = DriverDataTable;
         //
         //HPS.Common.FrequentlyUsedData.CarDataTable.DefaultView.RowFilter = "";
         //this.DriverGridView.DataSource = HPS.Common.FrequentlyUsedData.DriverDataTable;
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }
Beispiel #3
0
 private void FillCombo()
 {
     try
     {
         HPS.BLL.DriverBLL.BLLDriver_TFactory DriverID_bintFactory = new HPS.BLL.DriverBLL.BLLDriver_TFactory();
         DataTable DriverID_bintDataTable = new DataTable();
         DriverID_bintFactory.GetAll(ref DriverID_bintDataTable);
         this.DriverID_bintComboBox.DisplayMember = HPS.BLL.DriverBLL.BLLDriver_T.Driver_TField.FirstName_nvc.ToString();
         this.DriverID_bintComboBox.ValueMember   = HPS.BLL.DriverBLL.BLLDriver_T.Driver_TField.DriverID_bint.ToString();
         this.DriverID_bintComboBox.DataSource    = DriverID_bintDataTable;
         this.DriverID_bintComboBox.SelectedIndex = -1;
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }