熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

簡單asp連接access數據庫代碼

2013-11-13 10:45:37  來源: .NET編程 

  Set rs = nothing
      Set conobject = ServerCreateObject("ADODBConnection")
      db="examplemdb"
      DBPath = ServerMapPath(db)
      conobjectOpen "Driver={Microsoft Access Driver (*mdb)};DBQ="&DBPath
      Set rs = Servercreateobject("adodbrecordset")

  Set conn = ServerCreateObject("ADODBConnection")
      DBPath = ServerMapPath(db)
      connOpen "Driver={Microsoft Access Driver (*mdb)};DBQ="&DBPath
 


From:http://tw.wingwit.com/Article/program/net/201311/14452.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.