来一段
Set Conn=Server.CreateObject("ADODB.Connection")
Connstr="DBQ="+server.mappath("kh.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;ImplicitCommitSync=Yes;MaxBufferSize=512;MaxScanRows=8;PageTimeout=5;SafeTransactions=0;Threads=3;UserCommitSync=Yes;"
Conn.Open connstr
str="select * from user where id=10"
set rs=conn.execute(str)