protected void submit_click(object sender, EventArgs e)
 {
     wgiAdUnionSystem.BLL.wgi_sitehost bll = new wgiAdUnionSystem.BLL.wgi_sitehost();
     string oldpwd = this.txtold.Text;
     string newpwd = this.txtnew.Text;
     if (oldpwd != newpwd)
     {
         try
         {
             bll.updatePwd(userid, newpwd);
             FlowControl.Logout();
             ScriptManager.RegisterClientScriptBlock(this, GetType(), DateTime.Now.ToString(), "alert('密码修改成功,请重新登录');location.href='/member/';", true);
         }
         catch (Exception)
         {
             Response.Write("操作失败,<a href=\"#\" onclick=\"history.go(-1);\">点此返回</a>");
             Response.End();
         }
     }
 }