protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); ZWL.BLL.ERPYinZhang MyModel = new ZWL.BLL.ERPYinZhang(); MyModel.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.Image1.ImageUrl = "../UploadFile/" + MyModel.ImgPath; this.Label1.Text = MyModel.YinZhangName; this.Label2.Text = MyModel.YinZhangMiMa; } }