产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » cms程序上传到虚拟主机后,数据库如何设置?
wangzh0304 - 2010/9/15 11:11:00
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程序的哪里添加这个设置。
1
查看完整版本: cms程序上传到虚拟主机后,数据库如何设置?