I'll have to do this later on in the week, but look up the web.config file in the net help, and it will tell you where to put the info. It's added like: add key, or something close. You set
If you set this up as an ado access connection, you would have the database name and path in here as well. This is for sql server. But you get the idea.
When you connect to an Access database, you usually add the path of the database. For example, database=c:\mydir\mydb.mdb.
If I am on a web server, I am not going to know c:\mydir. All I am going to know is that the database is in the same directory as the script. But how can I specify that the database is located in the same directory as the script?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.