Beispiel #1
0
 private void Load_Restaurants()
 {
     try
     {
         RestaurantClass r = new RestaurantClass();
         ListView3.DataSource = r.printRestaurants(cityName);
         ListView3.DataBind();
     }
     catch (Exception ex) {
         Console.WriteLine(ex.ToString());
     }
 }
Beispiel #2
0
 //copy
 public RestaurantClass(RestaurantClass restaurant)
 {
     nameRestaurant = restaurant.NameRestaurant;
     addressRestaurant = restaurant.AddressRestaurant;
 }