Author: cubangt | Posted on: 7/27/2010 3:04:14 PM | Views : 375

I have the following in my class file, but the Request shows up with a red line under it and states the following when you mouse over the word.
The name "Request" does not exist in the current context.
// Get the physical file system path for the currently executing application.
string appPath = Request.PhysicalApplicationPath;
What am i missing? These are the name spaces within my class:
using System; using System.IO; using System.Data; using System.Configuration; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using ...

Go to the complete details ...