[audio04] W<gD6+=8
连接access '}O!2W&Y]%
K
M]Wl_z
首先看一个例子代码片断: $k(9 U\y-
程序代码: wd`R4CKhP]
\FI^Vk
-------------------------------------------------------------------------------- q lY\*{x4
M5+W$W
using system.data; j-P^Zv};u
using system.data.oledb; )b9I@)C
Rc7.M"wzjX
...... "=`~iXT{e
w:tGPort
string strconnection="provider=microsoft.jet.oledb.4.0;"; dt.-C_MO
strconnection+=@"data source=c:\begaspnet\northwind.mdb"; 59qnEIi
&@'V\5G
oledbconnection objconnection=new oledbconnection(strconnection); u-/3(dKt
L9'-
...... )9pBu
B
s @M
objconnection.open(); kOM-
objconnection.close(); B=x~L
& ^!v*=z
...... d:$G|<