M
Microsoft
I have a c# asp.net application. The application has many directories full
of images, and each directory has a web.config file containing information
about the images in that directory.
I'd like to be able to read the web.config of each directory from an aspx
codebehind in the directory above. Sure, I could use the "location" tag, but
the idea here is that the config information should live in the directory
with the images.
Additionally, I'd like an aspx in one of the directories be able to read the
web.config in another, peer directory.
Can this be done?
Sure, I could put the information in a generic XML file and use DOM to get
at it, but that would require some custom code, and I like the idea of
putting it in the appSettings section of web.config.
So... am I drawing dead, or can I do this?
Thanks in advance!
Christopher
of images, and each directory has a web.config file containing information
about the images in that directory.
I'd like to be able to read the web.config of each directory from an aspx
codebehind in the directory above. Sure, I could use the "location" tag, but
the idea here is that the config information should live in the directory
with the images.
Additionally, I'd like an aspx in one of the directories be able to read the
web.config in another, peer directory.
Can this be done?
Sure, I could put the information in a generic XML file and use DOM to get
at it, but that would require some custom code, and I like the idea of
putting it in the appSettings section of web.config.
So... am I drawing dead, or can I do this?
Thanks in advance!
Christopher