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 VersionDetail : BasePage { Soft_VersionBLL bll_Soft_VersionBLL = null; //初始化 public VersionDetail() { bll_Soft_VersionBLL = new Soft_VersionBLL(); } //页面加载 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InitData(); } } //数据加载 public void InitData() { Soft_Version m_Soft_Version = bll_Soft_VersionBLL.GetModelByKeyid(Request["keyid"].ToInt32()); if (m_Soft_Version != null) { this.spanSoftTypeId.InnerText = m_Soft_Version.SoftTypeId.ToString2(); this.spanSoftName.InnerText = m_Soft_Version.SoftName.ToString2(); this.spanSoftVersion.InnerText = m_Soft_Version.SoftVersion.ToString2(); this.spanSoftStoreAddress.InnerText = m_Soft_Version.SoftStoreAddress.ToString2(); this.spanSoftUrl.InnerText = m_Soft_Version.SoftUrl.ToString2(); this.spanSoftContent.InnerText = m_Soft_Version.SoftContent.ToString2(); this.spanSoftCreatTime.InnerText = m_Soft_Version.SoftCreatTime.ToString2(); this.spanSoftUpCount.InnerText = m_Soft_Version.SoftUpCount.ToString2(); this.spanLastUpdateTime.InnerText = m_Soft_Version.LastUpdateTime.ToString2(); this.spanOperator.InnerText = m_Soft_Version.Operator.ToString2(); } } } }