I created a variable in VB.Net's Global.asax file
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
Application("AppRootURL") = HttpContext.Current.Request.ApplicationPath
Now I want to use this variable in all files where I want to use. I have App_code folder in that I have some files.
In a particular file I want to get this app variable but I am not able to get .
Getting this error only when I want to use App Variable in App_code/xyz.vb file.
Reference to a non-shared member requires an object reference.
Any work around for this ??
View Complete Post