简单asp连接access数据库代码

2015-08-12 16:03:47来源:作者:人点击

      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
 

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台