容易asp连接access数据库代码_ASP图文说明教程
发表时间:2023-08-09 来源:明辉站整理相关软件相关文章人气:
[摘要]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在很多地方得到广泛使用,例如小型企业,大公司的部门。