G
Guest
Hi,
I am new to dotNET. I want to connect to MSAccess DB from ASP.NET I want
to seperate connectionstring and open the connection just as an object and
properties. I am not able to do that. How can i do?
In every page i want to connect to DB and no need to specify
connectionstring in every page.
And, how can i set the connectionstring in web.config file?
<appSettings>
<add key="appconnection" value="Provider=....;data source=????>
Here we must specify physical path. But with web always must specify virtual
path. How can i set server.mappath here?
</appSettings>
I am new to dotNET. I want to connect to MSAccess DB from ASP.NET I want
to seperate connectionstring and open the connection just as an object and
properties. I am not able to do that. How can i do?
In every page i want to connect to DB and no need to specify
connectionstring in every page.
And, how can i set the connectionstring in web.config file?
<appSettings>
<add key="appconnection" value="Provider=....;data source=????>
Here we must specify physical path. But with web always must specify virtual
path. How can i set server.mappath here?
</appSettings>