changing xml element attribute RRS feed

  • Question

  • User-1738998028 posted

    Hi I have this web.config

        <add key="ApplicationServicesOffline" value="xxx" />
        <add key="ApplicationServicesOnline" value="xxx1" />
        <add key="CurrentConnection" value="Online" />


    I wish to change value of -"CurrentConnection" - using c#

    How can i do that, i try to loop and could not get xml element.

    Please advice

    Thursday, January 15, 2015 4:51 AM


All replies