System.Web.UI.Page page = (System.Web.UI.Page)HttpContext.Current.Handler; 转载于:https://www.cnblogs.com/liulf/archive/2009/10/22/1588227.html