using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CB.Framework; using CB.Common; namespace CB.Wap.notice { public partial class article : WebPage { protected string info = ""; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InitData(); } } protected override void InitData() { int tid = WRequest.GetQueryInt("tid"); var entity = CB.Data.TopicService.Get(tid); if (null != entity) { info += "

" + entity.Title + "

"; info += "

" + entity.Context + "

"; } base.InitData(); } } }