/// <summary> /// 没有数据或错误 /// </summary> public static void NoDateOrError() { Jscript.RedirectTo((HttpContext.Current.Request.ApplicationPath == "/" ? "" : HttpContext.Current.Request.ApplicationPath) + "/wr.html"); HttpContext.Current.Response.End(); }
/// <summary> /// 系统自定义提示 /// </summary> public static void DamicAlert() { Jscript.AlertAndRedirectJstr("您访问的数据不存在!", "window.history.go(-1);"); }