using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; using CY.Model; using CY.BLL; using CY.Infrastructure.Common; using CY.Infrastructure.Query; namespace CY.WebForm.Pages.soft { //吴辉 //软件更新记录明细 public partial class UpRecordDetail : BasePage { Soft_UpRecordBLL bll_Soft_UpRecordBLL = null; //初始化 public UpRecordDetail() { bll_Soft_UpRecordBLL = new Soft_UpRecordBLL(); } //页面加载 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InitData(); } } //数据加载 public void InitData() { Soft_UpRecord m_Soft_UpRecord = bll_Soft_UpRecordBLL.GetModelByKeyid(Request["keyid"].ToInt32()); if (m_Soft_UpRecord != null) { this.spanClientId.InnerText = m_Soft_UpRecord.ClientId.ToString2(); this.spanClientName.InnerText = m_Soft_UpRecord.ClientName.ToString2(); this.spanSoftId.InnerText = m_Soft_UpRecord.SoftId.ToString2(); this.spanSoftName.InnerText = m_Soft_UpRecord.SoftName.ToString2(); this.spanKeyCode.InnerText = m_Soft_UpRecord.KeyCode.ToString2(); this.spanUpdateIP.InnerText = m_Soft_UpRecord.UpdateIP.ToString2(); this.spanLastUpdateTime.InnerText = m_Soft_UpRecord.LastUpdateTime.ToString2(); this.spanOperator.InnerText = m_Soft_UpRecord.Operator.ToString2(); } } } }