2009-08-15 编程开发 ASP与ACCESS连接 连接数据库法一: 12Set conn = Server.CreateObject("ADODB.Connection")conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq="&Server.MapPath("data.mdb此为数据库名") 法二: 12345dim db,conn,myconndb="data.mdb此为数据库名"Set Conn = Server.CreateObject("ADODB.Connection")myconn="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(db)Conn.Open MyConn 关闭连接 12conn.CloseSet conn = Nothing Newer ASP从ACCESS读取数据 Older DreamWeaver8视频教程