Beispiel #1
0
 public void LocationSelectAll(DataGridView locationList)
 {
     try
     {
         location = new DAL.Location();
         PopulateDataLayer();
         locationList.DataSource = location.LocationSelectAll().Tables[0];
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
 public DataTable LocationSelectAll()
 {
     try
     {
         DataTable dtLocation;
         location = new DAL.Location();
         PopulateDataLayer();
         dtLocation = location.LocationSelectAll().Tables[0];
         return(dtLocation);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }