C
CSharp
Hello all,
I store the connection string in my web.config like this:
<appSettings>
<add key="ConnectionString"
value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\inetput\wwwroot\testapp\DB\gb.mdb;" />
</appSettings>
Instead of hardcoding the path of the db file, I want to specify the
relative path. My db is in the DB subfolder of my application folder. How
can I do this?
Thanks
SeeSharp
I store the connection string in my web.config like this:
<appSettings>
<add key="ConnectionString"
value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\inetput\wwwroot\testapp\DB\gb.mdb;" />
</appSettings>
Instead of hardcoding the path of the db file, I want to specify the
relative path. My db is in the DB subfolder of my application folder. How
can I do this?
Thanks
SeeSharp