protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { BindRoles(); BindFunctionl(); try { int id = Convert.ToInt32(Request.QueryString["id"]); Entity.Base_User model = new Entity.Base_User(); model = user.GetModel(id); txtnum.Text = model.UserId.ToString(); txtusername.Text = model.UserName; //txtpwd.Text = model.Userpwd; } catch { } } }