protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); //绑定页面数据 ZWL.BLL.ERPTongXunLu Model = new ZWL.BLL.ERPTongXunLu(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.RadioButtonList1.SelectedValue = Model.IfShare; this.TextBox1.Text = Model.FenZu; this.TextBox2.Text = Model.NameStr; this.TextBox3.Text = Model.Sex; this.TextBox4.Text = Model.BirthDay; this.TextBox5.Text = Model.NiCheng; this.TextBox6.Text = Model.ZhiWu; this.TextBox7.Text = Model.PeiOu; this.TextBox8.Text = Model.ZiNv; this.TextBox9.Text = Model.DanWeiMingCheng; this.TextBox10.Text = Model.DanWeiDiZhi; this.TextBox11.Text = Model.DanWeiYouBian; this.TextBox12.Text = Model.DanWieDianHua; this.TextBox13.Text = Model.DanWeiChuanZhen; this.TextBox14.Text = Model.JiaTingZhuZhi; this.TextBox15.Text = Model.JiaTingYouBian; this.TextBox16.Text = Model.JiaTingDianHua; this.TextBox17.Text = Model.ShouJi; this.TextBox18.Text = Model.XiaoLingTong; this.TextBox19.Text = Model.Email; this.TextBox20.Text = Model.QQ; this.TextBox21.Text = Model.Msn; this.TxtContent.Text = Model.BackInfo; } }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { ZWL.Common.PublicMethod.CheckSession(); //绑定页面数据 ZWL.BLL.ERPTongXunLu Model = new ZWL.BLL.ERPTongXunLu(); Model.GetModel(int.Parse(Request.QueryString["ID"].ToString())); this.Label2.Text = Model.IfShare; this.Label1.Text = Model.FenZu; this.Label3.Text = Model.NameStr; this.Label4.Text = Model.Sex; this.Label5.Text = Model.BirthDay; this.Label6.Text = Model.NiCheng; this.Label7.Text = Model.ZhiWu; this.Label8.Text = Model.PeiOu; this.Label9.Text = Model.ZiNv; this.Label10.Text = Model.DanWeiMingCheng; this.Label11.Text = Model.DanWeiDiZhi; this.Label12.Text = Model.DanWeiYouBian; this.Label13.Text = Model.DanWieDianHua; this.Label14.Text = Model.DanWeiChuanZhen; this.Label15.Text = Model.JiaTingZhuZhi; this.Label16.Text = Model.JiaTingYouBian; this.Label17.Text = Model.JiaTingDianHua; this.Label18.Text = Model.ShouJi; this.Label19.Text = Model.XiaoLingTong; this.Label20.Text = Model.Email; this.Label21.Text = Model.QQ; this.Label22.Text = Model.Msn; this.Label23.Text = Model.BackInfo; } }