Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Adding / editting a value in the config file at runtime
are there any methods in the framework that allow you to set s value in the applications config file? My application centers around the currently selected
Client, Before the Application shuts down I'd like to throw the Clients PK
in the config file.
and retrive it at app stattup
mmAppBase.AppSettingsMgr.GetSetting("CurrentClient", "false")
I didn't see anything like
mmAppBase.AppSettingsMgr.SetSetting("UserSecurity",some value as string?)
If this isn't currently in the framework it might make a good addition.
Thanks
Brian G
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement