最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
读取Access数据库表名实例
时间:2022-06-30 10:24:08 编辑:袖梨 来源:一聚教程网
<%
strConn="DBQ="+server.mappath("kendylan.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") & "
"
end if
rsSchema.movenext
Loop
set objConn=nothing
%>
strConn="DBQ="+server.mappath("kendylan.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") & "
"
end if
rsSchema.movenext
Loop
set objConn=nothing
%>
相关文章
- 怪物猎人荒野温暖蓑衣虫收集方法分享 09-30
- 怪物猎人荒野耐力雷虫收集方法分享 09-30
- 浪人崛起万全准备成就解锁方法分享 09-30
- 魔兽世界纳格兰烹饪供应商卖什么-纳格兰烹饪供应商位置及售卖物品 09-30
- 浪人崛起继承之力成就解锁方法分享 09-30
- 浪人崛起共鸣成就解锁方法分享 09-30