How to use the ConfigurationSettings

  • Thread starter Thread starter Vladimír Lehocký
  • Start date Start date
V

Vladimír Lehocký

It is possible, but you must create new AppDomain and change its
AppDomainSetup.ConfigurationFile property

Vlado
 
hi

the code that get the data from the defualt file config is
String server =ConfigurationSettings.AppSettings.Get("Server").ToString()

how i can use another file config
in example file.xml ??????????

thanks
 

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