using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CY.BLL.Promotion; using CY.Infrastructure.Common; using CY.Model; namespace CY.WebForm.Pages.sysglobal { public partial class PromotionArticleInfoShow : BasePage { Promotion_ArticleInfoBLL _Promotion_ArticleInfoBLL = null; public PromotionArticleInfoShow() { _Promotion_ArticleInfoBLL = new Promotion_ArticleInfoBLL(); } protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InitialData(); } } public void InitialData() { Promotion_ArticleInfo ArticleInfo = _Promotion_ArticleInfoBLL.SelectSingleModel(Request["Keyid"].ToString2()); this.divInfoContent.InnerHtml = ArticleInfo.Content; this.spnTitel.InnerText = ArticleInfo.Title; } } }