这是conn.inc的内容 !dStl:B
<% *_3+ DF
pOpie5)7X
'---- CursorTypeEnum Values ---- "P'W@
Const adOpenForwardOnly = 0 :1=mNrg
Const adOpenKeyset = 1
$ v$~.
Const adOpenDynamic = 2 g@KS\.m]
Const adOpenStatic = 3 ;g7nG{
'---- LockTypeEnum Values ---- Q_qc_IcM y
Const adLockReadOnly = 1 FG1$_zN |
Const adLockPessimistic = 2 -i7W|X"
Const adLockOptimistic = 3
jats)!:
'---- CursorLocationEnum Values ---- ^~8l|d_
Const adUseServer = 2 Mryi6X T
Const adUseClient = 3 @R(6w{h9
{BDp`uZ
Sh}AGNE'
dim conn, strconn a*KB'u6&
set conn=Server.CreateObject("ADODB.Connection") ``K.4sG
conn.Provider= "Microsoft.Jet.OLEDB.4.0" r4D6g>)h1q
conn.properties("Data Source")=Server.MapPath("img.mdb") \KDOI 7
conn.properties("password")="" !~
"q$T>@
%> ,B h[jb`y