修改密码模式窗体,修改之后不成功或成功,怎么关闭,回到我的首页,
ClientScript.RegisterStartupScript(this.GetType(), "消息提示", "alert('用户名或密码不正确');history.go(-1)", true);这是验证的,这样不对,请问要怎么写
ClientScript.RegisterStartupScript(this.GetType(), "消息提示", "alert('用户名或密码不正确');history.go(-1)", true);这是验证的,这样不对,请问要怎么写
ClientScript.RegisterStartupScript(this.GetType(), "消息提示", "<script>alert('用户名或密码不正确');window.close();</script>");