asp獲取數(shù)據(jù)庫的連接屬性的方法_ASP教程
推薦:asp.net中WebService屬性記錄1 webservice 屬性 [webservice(description=ddddd),namespace=http://`````,Name=webservice的名稱] 2 webmethod:web服務(wù)方法(包含以下6個(gè)屬性) description:對webservice服務(wù)類中方法的注釋 enablesession:標(biāo)識當(dāng)前webservice是否啟動session;默認(rèn)為false;(如果fa
asp獲取數(shù)據(jù)庫的連接屬性的方法
Option Explicit
dim objCNN
dim intCTProps
dim item
dim vbCRLF
vbCRLF = chr(10)
Response.Write "" & vbCRLF
Response.Write "
春風(fēng)精彩之查看數(shù)據(jù)庫屬性" & vbCRLF
Response.Write vbCRLF
set objCNN = Server.CreateObject("ADODB.connection")
objCNN.Open "DSN=VicTest"
Response.Write ">編號" & vbCRLF
Response.Write ">Name>值" & vbCRLF
intCTProps = 0
for each item in objCNN.Properties
intCTProps = intCTProps + 1
Response.Write "" & intCTProps & "" & vbCRLF
Response.Write "" & item.name & "" & vbCRLF
Response.Write "" & item.value & "" & vbCRLF
next
Response.Write "" & vbCRLF
Response.Write vbCRLF
Response.Write "" & vbCRLF
set objCNN = Nothing
set intCTProps = nothing
set item = nothing
set vbCRLF = nothing
%>
分享:如何在ASP.NET應(yīng)用程序中初始化副標(biāo)題#e# 每個(gè)程序都需要初始化的過程,用來讀取配置或者設(shè)置一些運(yùn)行環(huán)境(變量),對于ASP.NET程序來說,又該在哪里執(zhí)行初始化的任務(wù)呢? 我想應(yīng)該絕大多數(shù)人都知道在Global.asax中執(zhí)行初始化的過程,然而有些細(xì)節(jié)是我們需要關(guān)注的。 本文用例 在這篇博客的示例代碼
- asp.net中WebService屬性記錄
- 如何在ASP.NET應(yīng)用程序中初始化
- 程序員看淘寶,如何用Session保存用戶狀態(tài)
- ASP.NET七大身份驗(yàn)證方式及解決方案
- 8 種提升 ASP.NET Web API 性能的方法
- asp.net計(jì)算每個(gè)頁面執(zhí)行時(shí)間的方法
- asp實(shí)現(xiàn)獲取MSSQL數(shù)據(jù)庫表指定條件行數(shù)的函數(shù)
- asp實(shí)現(xiàn)讀取數(shù)據(jù)庫輸出json代碼
- JScript中遍歷Request表單參數(shù)集合的方法
- 如何使用ASP建立虛擬的FTP服務(wù)器
- 用ASP+CSS實(shí)現(xiàn)隨機(jī)背景
- 簡述Xml.Serialization如何序列化對象到XML文件
- 相關(guān)鏈接:
- 教程說明:
ASP教程-asp獲取數(shù)據(jù)庫的連接屬性的方法
。