⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 show.aspx.cs.svn-base

📁 走吧旅游网站前后台源代码
💻 SVN-BASE
字号:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Maticsoft.Web.Customer
{
    public partial class Show : System.Web.UI.Page
    {        
        		protected void Page_LoadComplete(object sender, EventArgs e)
		{
			(Master.FindControl("lblTitle") as Label).Text = "详细信息";
		}
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null || Request.Params["id"].Trim() != "")
				{
					string id = Request.Params["id"];
					ShowInfo(int.Parse(id));
				}
			}
		}
		
private void ShowInfo(string CustomerID)
{
	Maticsoft.BLL.Customer bll=new Maticsoft.BLL.Customer();
	Maticsoft.Model.Customer model=bll.GetModel(CustomerID);
	this.lblCustomerName.Text=model.CustomerName;
	this.lblSpecCode.Text=model.SpecCode;
	this.lblLinkMan.Text=model.LinkMan;
	this.lblPhone.Text=model.Phone;
	this.lblFax.Text=model.Fax;
	this.lblAddress.Text=model.Address;
	this.lblAccountBak.Text=model.AccountBak;
	this.lblAccountNo.Text=model.AccountNo;
	this.lblRegionID.Text=model.RegionID;
	this.lblEmail.Text=model.Email;
	this.lblQQ.Text=model.QQ;
	this.lblMSN.Text=model.MSN;
	this.lblPassword.Text=model.Password;
	this.lblLogInID.Text=model.LogInID;
	this.lblIsActive.Text=model.IsActive;

}

    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -