How to read configuration section for sub-classes

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can ConfigurationSection or ConfigurationElement retrieve the configuration
information in a generic way such as string or XmlNode type?
I have sub-sections in the configuration which is specific for sub-class to
initialize itself and needs to be passed to it in a generic way defined in
base class.
 
Not through the configuration interfaces, but you can certainly load
web.config into an XML document and then parse the sections directly
(assuming you have read access to web.config)

+++ Rick ---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top