Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing with Application Settings Manager
Message
De
03/02/2008 21:17:37
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01278973
Message ID:
01288902
Vues:
26
I have used the WriteKeysToConfig method of the mmAppConfiguration class to write out a settings.xml file using strongly typed properties. When I use the ReadKeysFromConfig method to read that same file, it always uses the default values as if it does not find the proper key values in the file. I have tried renaming the file to settings.config, but it still doesn't find the values in the file. When I walk through the code, the InnerXML property of the DOM contains the proper xml. So I assume that it is seeing it as XML okay. I have even tried using the GetKeyFromConfigSection, but that was returning the defaults also.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform