ASP连接ACCESS数据库
Set conn2 = Server.CreateObject("ADODB.Connection")
conn2.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath(TargetFile)
set rs2=server.createobject("adodb.recordset")
sql2="delete from product"
rs2.open sql2,conn2,1,1
set rs2=nothing
conn2.close:set conn2=nothing
注:TargetFile为mdb文件相对路径,如single/update.mdb