How can I update password or other attributes in connection string in XML using c# .
<?xml version="1.0"?>
<configuration>
<connectionStrings>
<add name="abcConnection" connectionString="server=10.10.12.12;database=Test1;uid=myUID;password=hello;timeout=20;"providerName="System.Data.SqlClient" />
<add name="123Connection" connectionString="server=10.10.23.45;database=test2;uid=MyUSI;password=hello;" providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>
it can be any xml file not the config from the same application . Please help.