ASP連接11種數(shù)據(jù)庫語法總結(jié)(2)_ASP教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
推薦:asp簡介和五大內(nèi)置對象目次 1.ASP基礎(chǔ) 2.ASP的五大對象 3.Request對象 4.Response對象 5.Server對象 6.Application對象 7.Session對象 1.ASP基礎(chǔ) Microsoft Active Server Pages,即讀者朋友們所稱的
7.dBase 連接方法:
| 以下為引用的內(nèi)容: set adocon=Server.Createobject("adodb.connection") adocon.open"Driver={microsoft dbase driver(*.dbf)};driverid=277;dbq=------------;" |
8.mySQL 連接方法:
| 以下為引用的內(nèi)容: set adocon=Server.Createobject("adodb.connection") adocon.open"Driver={mysql};database=yourdatabase; uid=username;pwd=yourpassword;option=16 386;" |
9.Visual Foxpro 連接方法:
| 以下為引用的內(nèi)容: set adocon=Server.Createobject("adodb.connection") adocon.open"Driver={microsoft Visual Foxpro driver};sourcetype=DBC;sourceDB=*.dbc;Exclusive=No;" |
10.MS text 連接方法:
| 以下為引用的內(nèi)容: set adocon=Server.Createobject("adodb.connection") adocon.open"Driver={microsoft text driver(*.txt; *.csv)};dbq=-----;"&_ "extensions=asc,csv,tab,txt;Persist SecurityInfo=false;" |
11.MS text OLE DB 連接方法:
| 以下為引用的內(nèi)容: set adocon=Server.Createobject("adodb.connection") adocon.open"Provider=microsof.jet.oledb.4.0;data source=your_path;"&_ "Extended Properties'text;FMT=Delimited'" |
分享:ASP常用代碼剪輯計算字符的大小 len()是一個字算一個,一個字母也一個 lenb()是字母和字都是兩個 以下為引用的內(nèi)容: function getlen(str) n=0 for i=1 to
相關(guān)ASP教程:
- asp FSO 讀寫文件本文件實現(xiàn)代碼
- asp中isNull、isEmpty和空字符串的區(qū)別
- asp獲取用戶真實IP地址的方法
- asp連接sqlserver數(shù)據(jù)庫實現(xiàn)代碼
- asp中正則表達(dá)式過濾html代碼函數(shù)
- asp中g(shù)et post提交表單區(qū)別
- 網(wǎng)頁模板:ASP內(nèi)建對象Request
- xmlhttp的open方法使用詳解
- ASP的常用的自定義函數(shù)大全
- asp中用for循環(huán)的一個小技巧
- eWebEditor v3.8 列目錄
- ASP無組件分頁實現(xiàn)思路及代碼
- 相關(guān)鏈接:
- 教程說明:
ASP教程-ASP連接11種數(shù)據(jù)庫語法總結(jié)(2)
。