我的其它博客:相册博客 | 百度博客站 | csdn专栏 | 心情博客

<%
 strConn="DBQ="+server.mappath("tmp_bbsdata.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
 set objConn=server.createobject("Adodb.connection")
 objConn.open strConn
 set rsSchema=objConn.openSchema(20)
 rsSchema.movefirst
 Do Until rsSchema.EOF
 if rsSchema("TABLE_TYPE")="TABLE" then
         response.write rsSchema("TABLE_NAME") & "<br>"   
 end if
 rsSchema.movenext
 Loop
 set objConn=nothing
%>

posted on 2007-11-21 09:06  dukey  阅读(701)  评论(0编辑  收藏  举报