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 ProxyDetail : BasePage { Soft_ProxyBLL bll_Soft_ProxyBLL = null; //初始化 public ProxyDetail() { bll_Soft_ProxyBLL = new Soft_ProxyBLL(); } //页面加载 protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { InitData(); } } //数据加载 public void InitData() { Soft_Proxy m_Soft_Proxy = bll_Soft_ProxyBLL.GetModelByKeyid(Request["keyid"].ToInt32()); if (m_Soft_Proxy != null) { this.spanProxyName.InnerText = m_Soft_Proxy.ProxyName.ToString2(); this.spanProxyPhone.InnerText = m_Soft_Proxy.ProxyPhone.ToString2(); this.spanProxyQQ.InnerText = m_Soft_Proxy.ProxyQQ.ToString2(); this.spanProxyMobile.InnerText = m_Soft_Proxy.ProxyMobile.ToString2(); this.spanProxyCardNum.InnerText = m_Soft_Proxy.ProxyCardNum.ToString2(); } } } }