using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CY.BLL; using CY.Model; using CY.Infrastructure.Query; using CY.Infrastructure.Common; using CY.BLL.OA; using CY.BLL.Promotion; namespace CY.WebForm.Pages.sysglobal { public partial class Promotion_ArticleInfoDetail :BasePage { Promotion_ArticleInfoBLL _Promotion_ArticleInfoBLL = null; public Promotion_ArticleInfoDetail() { _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.spnRemark.InnerText = ArticleInfo.Remark; this.spanTitle.InnerText = ArticleInfo.Title; this.spnOperator.InnerText = ArticleInfo.Operator; this.spanUpTime.InnerText = ArticleInfo.LastUpdateTime.ToString2(); } } }