ACCESS数据库的绝对路径用什么语句.??急......

2025-03-07 03:05:05
推荐回答(4个)
回答1:

建议你不要用中文,路径中不要出现中文,
这是我写的代码,1、set connect=server.createobject("adodb.connection")
2、connect.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("数据库名.mdb")

response.write(rs("title"))是输出,如果想赋给变量TT改成:
TT=rs("title")

回答2:

说你笨,不好,说你不笨,更不对,哎,说你什么好呢?
懒散,懒惰,自己好好学!

回答3:

使用绝对路径的话..就可以不用 mappath 了.这个就是来获取绝对路径的.

回答4:

也想学