Is it possible to update a connection string stored in the Web.config file programatically? If Yes, then how?

 Posted by Virendradugar on 10/22/2009 | Category: ASP.NET Interview questions | Views: 4674


Create a Configuration object. Then, update the connection string using the ConnectionStrings collection. Finally, call Configuration.Save.

Source: MCTS | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Pinchip on: 5/30/2010
can you post the code for this
or maul me to
its very urgent thats why please...

Login to post response