Change connection string in Web.Config using C# and VB.Net in ASP.Net

Last Reply 6 months ago By dharmendr

Posted 6 months ago


can you help me,

I want to change the catalog from the web.config from some form but from the code behind

<add name="Gabook_ProductoConnectionString" connectionString="Data Source=servidor;Initial Catalog=change from code behind c#;Persist Security Info=True;User ID=sa;Password=Clave"
providerName="System.Data.SqlClient" />