防止刷新时,密码输入框中的信息丢失

private void Page_Load(object sender, System.EventArgs e)
  {
   this.txtPwd.Attributes.Add("value",   txtPwd.Text.Trim());
   this.txtRePwd.Attributes.Add("value",   txtPwd.Text.Trim());
  }

posted @ 2007-01-13 20:22  RobotTech  阅读(489)  评论(1编辑  收藏  举报