An object reference is required for the non-static field, method, or property
问题 I recieve an error when building my vs2008 .net 3.5 solution Error 1 An object reference is required for the non-static field, method, or property 'System.Web.UI.Page.Request.get' String _XSLTPath = Page.Request.Url.Scheme + "://" + Page.Request.Url.Authority + Page.Request.ApplicationPath.TrimEnd('/') + '/' + "webparts/weatherandtime/weather/xslt/RSSWeatherXSL.xsl"; The Page object seems to be higlighting in green which is not what i want. Can someone explain whats going on? Thanks, 回答1: You