public string GetCountyList(string CityID) { Tz888.BLL.Common.ZoneSelectBLL bll = new Tz888.BLL.Common.ZoneSelectBLL(); DataView dv = bll.GetCountyList(CityID); string str = "|县级地区"; if (dv == null) { return(str); } for (int m = 0; m < dv.Table.Rows.Count; m++) { try { str += "," + dv[m]["CountyID"].ToString().Trim() + "|" + dv[m]["CountyName"].ToString().Trim(); } catch { //continue } } //str=str.Substring(1,str.Length-1); return(str); }