Update web.config file in asp.net
<p>I am working on a web application which sits on a server and connects to various client machines based on the IPAddress.I have to change the IPAddress every time in the web.config file in order to connect to a particular client machine.</p>

<p>I want to put a text box where i can enter the ipaddress and it updates web.config file based on the button click which should eventually connect to the respective client machine.</p>

<p>Is it possible to do this way or i am thinking the wrong way ?</p>

<p>Can any one guide me in the right path ?</p>
