AccessDB; Dynamic connection string in web.config

Discussion in 'Databases' started by ebonovic, Sep 17, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. The connection string for my AccessDB is maintained in my web.config

    I have it working, by hard coding the server file path (from my account info page).
    Works....

    But is there a way to do this dynamically, incase discountasp.net happens to move the file path.....

    Or is the chances of that so small, that I shouldn't have to worry about it.
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    We generally do not change the path to your site.


    I have not tried to update the web.config progmatically but I think it is possible by using teh Configurations.AppSettings


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page