Example #1
0
 public void ClubSelectAll(DataGridView ClubList)
 {
     try
     {
         club = new DAL.Club();
         PopulateDataLayer();
         ClubList.DataSource = club.ClubSelectAll().Tables[0];
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
 public DataTable ClubSelectAll()
 {
     try
     {
         DataTable dtResult;
         club = new DAL.Club();
         PopulateDataLayer();
         dtResult = club.ClubSelectAll().Tables[0];
         return(dtResult);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }