62,269
社区成员
发帖
与我相关
我的任务
分享 public static void AlertAndRedirect(Page page, string msg, string url)
{
page.ClientScript.RegisterClientScriptBlock(page.GetType(), "alert", "document.open();window.alert('" + msg + "'); location.replace('" + url + "');document.close();", true);
} Response.Write("<script>window.alert('该会员没有提交申请,请重新提交!');window.location='http://www.gongxinkang.com.cn' </script>");
Response.End();