ASP 獲得Access表名

2021-04-14 13:12:18 字數 554 閱讀 2516

<%

dimadoconn

setadoconn

=server.createobject(

"adodb.connection")

connstring="

driver=; dbq="&

"knddb06.mdb")

adoconn.open connstring

setadoxcatalogx

=server.createobject(

"adox.catalog")

dimadoxcatalogx

setadoxcatalogx.activeconnection

=adoconn

dimadotable

setadotable

=server.createobject(

"adox.table")

foreach

adotable in adoxcatalogx.tables

response.write adotable.name+"

"next

%>

ASP建立ACCESS表或新增字段

http www.wesoho.com article.asp?id 2226 揚帆blog 建立一張空表 sql create table 表名 建立一張有字段的表 sql create table 表名 欄位名1 memo not null,欄位名2 memo,欄位名3 counter not ...

asp連線access例項

一直想建乙個自己的小 可是jsp空間昂貴,還是asp的吧。找啦許多cms,學習成本太高,於是非下決心學習一下。先看乙個連線資料庫的,能連資料庫了,其它的都ok了。首先,建一目錄如 d asp test,三個檔案db.mdb,conn.asp,showdata.asp。conn.asp set con...

asp匯入xls後到access

upload.asp 上傳並且寫入庫 response.write 資料格式不對!response.write 返回 response.end end if set file nothing else response.write 檔案不能為空!response.write 返回 response....