在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Response.Write(i.ToString ()+"<br>"); 2,对话框显示: Page.RegisterStartupScript("msg", "<script>alert('" + _info + "')<" + "/script>"); Response.Write("<script>alert('"+_info+"')<" + "/script>"); 3.提示之后再跳转: Response.Write("<script>alert('注册成功');window.location='/employee/stulogsuccess.aspx';<" + "/script>"); 注:此方法不可用window.history.back()返回; 4.直接跳转: Response.Redirect("/employee/stulogsuccess.aspx",false); 5.用js跳转: Response.Write("<script>window.location='/employee/stulogsuccess.aspx';<" + "/script>"); 6.带参数跳转: Response.Redirect("/Controls/error.aspx?msg="+Server.UrlEncode("提交信息没有成功。请与系统管理员联系。")); |
请发表评论