Esempio n. 1
0
        public static string SetChange(string cid)
        {
            Leadin.BLL.StoreCity bllcity1 = new Leadin.BLL.StoreCity();
            DataSet       ds      = bllcity1.GetList(0, "StateInfo=1 and ParentId=" + cid, "SortNum desc,Id desc");
            StringBuilder strHtml = new StringBuilder();

            foreach (DataRow item in ds.Tables[0].Rows)
            {
                strHtml.Append("<option value=\"" + item["Id"].ToString() + "\">" + item["Title"].ToString() + "</option>");
            }
            return(strHtml.ToString());
        }