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 KeyCodeDetail : BasePage { Soft_KeyCodeBLL bll_Soft_KeyCodeBLL = null; //初始化 public KeyCodeDetail() { bll_Soft_KeyCodeBLL = new Soft_KeyCodeBLL(); } //页面加载 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InitData(); } } //数据加载 public void InitData() { Soft_KeyCode m_Soft_KeyCode = bll_Soft_KeyCodeBLL.GetModelByKeyid(Request["keyid"].ToInt32()); if (m_Soft_KeyCode != null) { this.spanKeyCode.InnerText = m_Soft_KeyCode.KeyCode.ToString2(); this.spanKeyStatus.InnerText = m_Soft_KeyCode.KeyStatus.ToString2(); this.spanKeyProxyId.InnerText = m_Soft_KeyCode.KeyProxyId.ToString2(); this.spanKeyCreatTime.InnerText = m_Soft_KeyCode.KeyCreatTime.ToString2(); this.spanKeyOutTime.InnerText = m_Soft_KeyCode.KeyOutTime.ToString2(); this.spanKeyUseTime.InnerText = m_Soft_KeyCode.KeyUseTime.ToString2(); this.spanKeyUseIP.InnerText = m_Soft_KeyCode.KeyUseIP.ToString2(); this.spanKeyClientId.InnerText = m_Soft_KeyCode.KeyClientId.ToString2(); this.spanLastUpdateTime.InnerText = m_Soft_KeyCode.LastUpdateTime.ToString2(); this.spanOperator.InnerText = m_Soft_KeyCode.Operator.ToString2(); } } } }