public static string SetStoreCityChange(string cid) { StringBuilder strHtml = new StringBuilder(); DataSet ds = new Leadin.BLL.Store().GetList(0, "StateInfo=1 and IsIndex=1 and City=" + cid, "SortNum desc,AddTime desc"); foreach (DataRow item in ds.Tables[0].Rows) { strHtml.Append("<ul>"); strHtml.Append("<li class=\"img\">"); strHtml.Append("<a href=\"#\"><img src=\"" + item["ImgUrl"].ToString() + "\" /></a>"); strHtml.Append("</li>"); strHtml.Append("<li class=\"detail\">"); strHtml.Append("<a class=\"title\" href=\"#\">" + item["Title"].ToString() + "</a>"); strHtml.Append("<p>地址:" + item["AddressInfo"].ToString() + "</p>"); strHtml.Append("<p>营业时间:" + item["BusinessTime"].ToString() + " </p>"); strHtml.Append("<p>支付方式:" + item["PayType"].ToString() + " </p>"); strHtml.Append("</li>"); strHtml.Append("</ul>"); } return(strHtml.ToString()); }