asp连接数据库|asp连接Visual Foxpro,MS text数据库代码

更新时间:2016-08-18    来源:Foxpro    手机版     字体:

【www.bbyears.com--Foxpro】

"visual foxpro 连接方法:

set adocon=server.createobject("adodb.connection")
adocon.open"driver={microsoft visual foxpro driver};sourcetype=dbc;sourcedb=*.dbc;exclusive=no;"

"ms text  连接方法:

set adocon=server.createobject("adodb.connection")
adocon.open"driver={microsoft text driver(*.txt; *.csv)};dbq=-----;"&_
"extensions=asc,csv,tab,txt;persist securityinfo=false;"

"ms text ole db 连接方法:

set adocon=server.createobject("adodb.connection")
adocon.open"provider=microsof.jet.oledb.4.0;data source=your_path;"&_
"extended properties"text;fmt=delimited""

本文来源:http://www.bbyears.com/shujuku/26181.html

猜你感兴趣