Ejemplo n.º 1
0
 public void ScheduleCategorySelectAll(DataGridView ScheduleList)
 {
     try
     {
         raceScheduleCategory = new DAL.RaceScheduleCategory();
         PopulateDataLayer();
         ScheduleList.DataSource = raceScheduleCategory.RaceScheduleCategorySelectAll().Tables[0];
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Ejemplo n.º 2
0
 public DataTable ScheduleCategorySelectAll()
 {
     try
     {
         raceScheduleCategory = new DAL.RaceScheduleCategory();
         DataTable dataResult = new DataTable();
         PopulateDataLayer();
         dataResult = raceScheduleCategory.RaceScheduleCategorySelectAll().Tables[0];
         return(dataResult);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }