private void Load_Cities() { try { CityClass ci = new CityClass(); ListView1.DataSource = ci.printCities(countryName); ListView1.DataBind(); } catch (Exception ex) { } }
private void Load_Cities() { try { CityClass ci = new CityClass(); ListView1.DataSource = ci.printCities(countryName); ListView1.DataBind(); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }