better yet, dont use ODBC. it's a retiring technology.oledb is better.
【在 h*****l 的大作中提到】 : Use DSN less connection. : : ( : 的 : ODBC的setting,如何在ASP的里连接我的数据库而不用修改sever的ODBC的set
z*e
7 楼
Try that in your ASP script file, by the way, you can change the settings in the string. connstr = "DBQ="+server.mappath("yourdb.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};DriverId=25;FIL=MS Access;ImplicitCommitSync=Yes;MaxBufferSize=512;MaxScanRows=8;PageTimeout=50;S afeTransactions=0;Threads=3;UserCommitSync=Yes;" Set DataConn=server.CreateObject("ADODB.Connection") DataConn.Open connstr
"DBQ="+server.mappath("yourdb.mdb")+";DefaultDir=;DRIVER={Microsoft Access;ImplicitCommitSync=Yes;MaxBufferSize=512;MaxScanRows=8;PageTimeout=50;S 好 sever ODBC的setting,如何在ASP的里连接我的数据库而不用修改sever的ODBC的set
【在 z****e 的大作中提到】 : Try that in your ASP script file, by the way, you can change the settings in : the string. : connstr = "DBQ="+server.mappath("yourdb.mdb")+";DefaultDir=;DRIVER={Microsoft : Access Driver (*.mdb)};DriverId=25;FIL=MS : Access;ImplicitCommitSync=Yes;MaxBufferSize=512;MaxScanRows=8;PageTimeout=50;S : afeTransactions=0;Threads=3;UserCommitSync=Yes;" : Set DataConn=server.CreateObject("ADODB.Connection") : DataConn.Open connstr : : (