这是conn.inc的内容 :Ea|FAeK8
<% ;Bj&9DZd
DT)][V^w
'---- CursorTypeEnum Values ---- ~I%164B+/
Const adOpenForwardOnly = 0 r>TOJVT&]
Const adOpenKeyset = 1 * fj`+J
Const adOpenDynamic = 2 AXSip
Const adOpenStatic = 3 Z
P6p>?DQ
'---- LockTypeEnum Values ---- v ?}0h5
Const adLockReadOnly = 1 DuDt'^]
Const adLockPessimistic = 2 f?ibyoXL
Const adLockOptimistic = 3 OLm@-I*
'---- CursorLocationEnum Values ---- 2N]8@a
Const adUseServer = 2 Uxik&M
Const adUseClient = 3 :N"&o(^
-3azA7tzz
'}B"071)<
dim conn, strconn /!A"[Tyt
set conn=Server.CreateObject("ADODB.Connection") ?%Tx%
dB
conn.Provider= "Microsoft.Jet.OLEDB.4.0" r<Cr)%z!
conn.properties("Data Source")=Server.MapPath("img.mdb") R[S1<m;
conn.properties("password")="" D6+3f#k6
%> H$ g*