public void WebMessageBox(string values)
{ HttpContext.Current.Response.Write("<script>alert('" + values + "');history.back()</script>");
HttpContext.Current.Response.End();
}
public void WebMessageBox(string values,string PageURL)
{ HttpContext.Current.Response.Write("<script>alert('" + values + "');window.location.href='" + PageURL + "'</script>");
HttpContext.Current.Response.End();
}
------------------------
history.back() 这个以前怎么没想过啊。。呵呵。。