public void InserCity() { string sql2 = SQLHelper.AddCity("San Francisco", "SAD", "Very nice city"); SQLHelper.ExecuteCommand(sql2); sql2 = SQLHelper.AddCity("Toronto", "SAD", "City of night life"); SQLHelper.ExecuteCommand(sql2); }
public void InserCity() { string sql2 = SQLHelper.AddCity("San Francisco", "Serbia", "Very nice city"); SQLHelper.ExecuteCommand(sql2); sql2 = SQLHelper.AddCity("Toronto", "Serbia", "City of night life"); SQLHelper.ExecuteCommand(sql2); sql2 = SQLHelper.AddCity("Moscow", "France", "City of lights"); SQLHelper.ExecuteCommand(sql2); sql2 = SQLHelper.AddCity("Las Vegas", "France", "City of lights"); SQLHelper.ExecuteCommand(sql2); sql2 = SQLHelper.AddCity("Los Angeles", "France", "City of lights"); SQLHelper.ExecuteCommand(sql2); }
public void InserCity(string cityname, string countryname, string descript) { string sql = SQLHelper.AddCity(cityname, countryname, descript); SQLHelper.ExecuteCommand(sql); }