判断一个access数据库中某个表是否存在的方法 | |
<% rem x=0 表示不存在,x=1 表示存在 strConn="DBQ="+server.mappath("zw.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};" tablename="gd111" if rsSchema("TABLE_NAME")=tablename then rsSchema.movenext if x=0 then response.write"没有找到!!!" if x=1 then response.write"找到了" set objConn=nothing |