This seems like such a stupid question, but I've looked everywhere and can't find the answer...
I have the following code:
But I want to be able to go up one level and then into the directory called "databases." How is this done? I've tried many things and either I'm starting in the directory where the asp file is, or I've rec'd errors.
In addition, what's the "./" mean? I'm new to ASP, but am familiar w/ "../" as a way to move up a level, but have no idea what this new-fangled thing is. (Google, btw, comes back blank if you search for it.)
I appreciate the help.
I have the following code:
Code:
strProvider = "Provider=Microsoft.Jet.OLEDB.4.0;" _
& "Data Source=" & Server.Mappath("./guestbook.mdb") & ";"
But I want to be able to go up one level and then into the directory called "databases." How is this done? I've tried many things and either I'm starting in the directory where the asp file is, or I've rec'd errors.
In addition, what's the "./" mean? I'm new to ASP, but am familiar w/ "../" as a way to move up a level, but have no idea what this new-fangled thing is. (Google, btw, comes back blank if you search for it.)
I appreciate the help.