SQLite3可以连接带有密码的db文件的ODBC在哪下载
------解决方案--------------------
Option Explicit
Response.Expires = -1
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "cache-ctrol","no-cache"
dim cn, connstr
Set cn=Server.CreateObject("ADODB.Connection")
connstr="Driver={SQLite3 ODBC Driver};Database="&Server.MapPath("Data\SQLite3.db")&";Version=3;"
cn.Open connstr
dim strSQL, objRS,i
Set objRS = Server.CreateObject("ADODB.RecordSet")
strSQL = "select * from sjyq_ge"
objRS.Open strSQL, cn, 1, 1, 1
Do while Not objRS.Eof
Response.Write(objRS("ID")&","&objRS("sjyq1")&","&objRS("sjyq2")&","&objRS("sjyq3")&"<br/>")
objRS.movenext
Loop
objRS.Close
Set objRS = Nothing
cn.Close
Set cn = Nothing
1、可以去这看看,支持加密的带有密码的db文件:
http://blog.sina.com.cn/s/blog_eb103c170101h3vi.html
2、SQLite3_ODBC下载,支持ODBC访问,但是不能支持带有密码的db文件。
http://www.ch-werner.de/sqliteodbc