I have a config file which has a custom section added to it. How do I access the ConnectionString
field and update it? (I can't use xpath or any xml related stuff)
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="HandleApplication"
type="Contracts.ConfigSections.HandleApplication, Contracts"/>
</configSections>
<HandleApplication>
<Handler AppId="2" ConnectionString="XXXXXXXXXXXXX"/>
</HandleApplication>
</configuration>