试试如下conn.Open "DBQ="+Server.Mappath(""&datapath&"")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"