public static IEnumerable <KeyValuePair <string, string> > GetCountiesForZipCode(string ZipCode) { var _CountyCodes = new List <KeyValuePair <string, string> >(); IDataReader rdrCounty = LookupDAL.GetCountiesByZipCode(ZipCode); while (rdrCounty.Read()) { _CountyCodes.Add(new KeyValuePair <string, string>(rdrCounty.GetString(0), rdrCounty.GetString(1))); } return(_CountyCodes); }