To do so, you'll need to embed a connection string in the body of any script that needs to talk to a database. Here's an example:
'Database connection info and provider
strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &_
Server.MapPath("database\dbname.mdb")
Copy and paste this string directly into your code (replacing the database\dbname with the name of your Access database) and your script should work correctly.
版主,您好!
我用access做数据库测试程序,虚拟主机上开通access后,提示如上,我该在cms程序的哪里添加这个设置。