<% id=request.form("id345") if id <>"" and isnumeric(id) then set conn=server.createobject("adodb.connection") conn.open "DRIVER=Microsoft Access Driver (*.mdb);DBQ="+server.mappath("exam.mdb")exec="delete * from guestbook where id="&id conn.execute exec response.write "!!!!记录删除成功!!!!" else response.Write("!!!!你的ID值为空!!!!!") response.End() end if %>