Translate to your language...

5 January 2013

Update Config file settings Automatically using Windows Application

Hi Friends,
Sometimes we need to search for the application or the code snippet which
will work as per our requirements- Like update the configuration file 
automatically. Because this is the tedious task to update the config file
 manually and we want there should be a simple application where I can 
enter the server name, database name, user id and password and click on 
update should update our configuration file automatically.
So now nothing to worry and this article is all about that. This article will 
describe mainly about the updation of Configuration file 
(App.Config or Web.Config) settings by using the Windows Application. 
This windows application will take the inputs from the user like Database
 server name, user name, password etc and will update the configuration 
file settings automatically without opening the config file.
This article will describe each and every steps of creating the windows 
application and then code snippet so that we can use as is or can also 
modify as per our requirements.
For the details of the Windows application creation and the code snippet, 
you can follow my article:

http://www.dotnetspider.com/resources/44327-Windows-Application-Update-Configuration-File-Settings.aspx