예제 #1
0
        private void LoadCar()
        {
            HPS.BLL.CarBLL.BLLCar_TFactory CarFactory = new HPS.BLL.CarBLL.BLLCar_TFactory();
            DataTable CarDataTable = new DataTable();

            CarFactory.GetAll(ref CarDataTable);
            this.CarGridView.DataSource = CarDataTable;
            //HPS.Common.FrequentlyUsedData.CarDataTable.DefaultView.RowFilter = "";
            //this.CarGridView.DataSource = HPS.Common.FrequentlyUsedData.CarDataTable;
        }
예제 #2
0
 private void LoadAllCars()
 {
     try
     {
         HPS.BLL.CarBLL.BLLCar_TFactory CarFactory = new HPS.BLL.CarBLL.BLLCar_TFactory();
         DataTable CarDataTable = new DataTable();
         CarFactory.GetAll(ref CarDataTable);
         this.CarGridView.DataSource = CarDataTable;
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }