using System; using System.Collections.Generic; using CB.Entity; namespace CB.Web.Kjh { public partial class Header : System.Web.UI.UserControl { protected string gg; protected void Page_Load(object sender, EventArgs e) { DataInit(); } private void DataInit() { IList list = CB.Data.Caches.GetHelpList(200,1); if (list!=null &&list.Count>0) { gg += "公告:" + list[0].Title + ""; } else { gg += ""; } } /// /// 页面热点推荐内容 /// /// /// public string GetHotContent(int id) { return CB.Data.Caches.GetRecommendContent(id); } } }