G
Guest
In my asp.net application, I have created a class for
global variables and functions, and I have placed
this in the app_code directory so it is available to all my pages.
That part has worked fine.
But now, I need to add a new funtion in this class which
needs to reference web.config. How do I get a reference
to web.config from this class?
In other words, all my aspx pages are hooked up to
web.config automatically, but not a class which I have
placed in /app_code.
TIA!!
Tom
global variables and functions, and I have placed
this in the app_code directory so it is available to all my pages.
That part has worked fine.
But now, I need to add a new funtion in this class which
needs to reference web.config. How do I get a reference
to web.config from this class?
In other words, all my aspx pages are hooked up to
web.config automatically, but not a class which I have
placed in /app_code.
TIA!!
Tom