/// <summary> /// 获取政府信息公开 /// </summary> public void LoadGovPublic() { DataTable dtGov = WebInfoLogic.GetGovPublic(); StringBuilder strRoll = new StringBuilder(100); if (dtGov.Rows.Count > 0) { strRoll.Append("<ul>"); for (int i = 0; i < dtGov.Rows.Count; i++) { strRoll.Append(string.Format("<li><a href=\"Zwgk_Left.aspx?InfoCategoryID={0}", ConvertHelper.ConvertLong(dtGov.Rows[i]["InfoCategoryID"].ToString()))); strRoll.Append("\">" + dtGov.Rows[i]["InfoCategoryName"].ToString() + "</a>"); } strRoll.Append("</ul>"); divGovInfo.InnerHtml = strRoll.ToString(); } }