B
bede
I have to write a small front end exe which will allow installers to
update a config file. The config file is not part of the project so I
cannot use the sonfiguration namespace but instead update it using
XML.
The config is as follows :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<connectionStrings>
<add name="ProgramService" connectionString="http://SERVERIP/
WebServices/myservice.asmx" />
</connectionStrings>
<appSettings>
<add key="loggingLevel" value="4" />
</appSettings>
</configuration>
I would like to edit both the "ProgramService" connection string
service and the value of "loggingLevel" in the appsettings but have no
idea where to start.
My XML is pretty poor.
Any ideas ?
Thanks In Advance
update a config file. The config file is not part of the project so I
cannot use the sonfiguration namespace but instead update it using
XML.
The config is as follows :
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<connectionStrings>
<add name="ProgramService" connectionString="http://SERVERIP/
WebServices/myservice.asmx" />
</connectionStrings>
<appSettings>
<add key="loggingLevel" value="4" />
</appSettings>
</configuration>
I would like to edit both the "ProgramService" connection string
service and the value of "loggingLevel" in the appsettings but have no
idea where to start.
My XML is pretty poor.
Any ideas ?
Thanks In Advance