/// <summary> /// 将form的action换成绝对路径 /// </summary> public static void FormatForm() { ((System.Web.UI.Page)HttpContext.Current.CurrentHandler).Form.Action = RequestUtil.GetVirPath(); }
/// <summary> /// 在网页页面返回空图片 /// </summary> public static void ImageNoSign() { Image(RequestUtil.GetPath("~/Img/NoPic.jpg")); }