明辉手游网中心:是一个免费提供流行视频软件教程、在线学习分享的学习平台!

容易asp连接access数据库代码_ASP图文说明教程

[摘要]Set rs = nothing Set conobject = Server.CreateObject("ADODB.Connection") db=&qu...

      Set rs = nothing
      Set conobject = Server.CreateObject("ADODB.Connection")
      db="example.mdb"
      DBPath = Server.MapPath(db)
      conobject.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ="&DBPath
      Set rs = Server.createobject("adodb.recordset")

      Set conn = Server.CreateObject("ADODB.Connection")
      DBPath = Server.MapPath(db)
      conn.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ="&DBPath
 


Microsoft Access在很多地方得到广泛使用,例如小型企业,大公司的部门。