首页 > 网站 > 建站经验 > 正文

简单asp连接acces-s数据库代码

2019-11-02 15:46:58
字体:
来源:转载
供稿:网友

      Set rs = nothing
      Set conobject = Server.CreateObject("ADODB.Conn

七个字网名[www.la240.com/html2017/1/24/]
ection")
      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
 

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表