js连接Access数据库,不知道是那里的问题,就是连接不上去,还请高手帮忙看一下!
<script language="javascript" runat="server">
var _Config = {
Version: '129123网址收藏系统 v1.0.3',
SitePath: '{$this.SitePath}',
// 主数据库配置
MainDBType: 0,
MainDB: 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=(@Include/DataBase/{$this.DBFile})',
MainDBPrefix: 'MZ_',
// 其他配置
DBUpdateLock: false,
NoCache: true,
CookieDomain: '{$this.CookieDomain}',
CookiePre: '{$this.CookiePre}',
Founder: '{$this.Founder}',
Password: '{$this.Password}',
ShowErr: true,
CSName: 'WTOX',
ManageTime: 2,
StateTypes: {1:'是', 0:'否'},
FileFilter: 'rar|zip|gif|jpg|swf|png|doc|ppt|xls|pdf',
LogPath: '@Include/WebLog/',
LoginStr: '{$this.LoginStr}',
Authcode: '{$this.Authcode}',
/* update start */"SiteName": "未名网", "SiteDomain": "127.0.0.1", "HTMLCachePageLimit": "3000", "SiteTheme": "Default", "DefaultHTMLPath": "/a/", "DefaultHTMLSuffix": ".html", "DefaultCategoryTemplate": "default_list.html", "DefaultContentTemplate": "default_page.html", "TrackSpider": "google|baidu|msn|yahoo", "StopUser": "Sogou web spider\nInetURL", "UpdateTime": 1238735131875, "Models": {"0": ["普通信息"], "1": ["标题信息"], "2": ["单页面"]}/* update end */
};
var _Category = {};
var _DBConfig = {System.DBConfig.toJSON()};
</script>
这是那JS连接Access的代码,我是在网上下的一个网站导航,自己研究了一下,还有好多地方不是很明白,我自己对JS了解的也不是蛮全面,运行页面的时候,绑定的内容都没有显示,还请高手帮忙指导,在线!