Open Conn

1,
Access +Asp 连接方法<%
Access +Asp 连接方法
set conn=server.createobject("adodb.connection")
Access +Asp 连接方法dbpath
=server.mappath("../database/*.asa")
Access +Asp 连接方法conn.open 
"driver={microsoft access driver (*.mdb)};dbq="&dbpath&";password=123456"
Access +Asp 连接方法%
>

2,
Access +Asp 连接方法adoConnection.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath ("/"& "xxx.mdb" 





参考资料

1,ADO连接数据库字符串大全
http://www.office-cn.net/Article/Class5/Class20/200508/1701.html


相关文章:

  • 2021-09-14
  • 2022-12-23
  • 2022-02-25
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2022-12-23
猜你喜欢
  • 2021-11-21
  • 2021-12-08
  • 2021-06-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案