Forum Moderators: open
'AAA
'Replace with your database connection information
with cn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.ConnectionString = "c:\inetpub\wwwroot\email.mdb"
.Open
end with
'BBB
'Replace with your database connection information
with cn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.ConnectionString = Data Source=" & Server.MapPath("\myfolder\mydatabase.mdb")
.Open
end with
...after you've constructed it? Can I view physical path this why and hard code it for greater speed?
ConnectionString =Server.MapPath("\myfolder\mydatabase.mdb")
Response.write ConnectionString