S
sjhasp
Unregistered / Unconfirmed
GUEST, unregistred user!
我是用ADO方法连接Access数据库,本来用ADOConnection控件可以在直接配置,但我现在要用代码直接写出来,该怎么写;
譬如我的ConnectionString是:
Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=D:/check/remote viwer/db1.mdb;Mode=Share Deny None;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDBatabase Password="";Jet OLEDB:Engine Type=5;Jet OLEDBatabase Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDBon't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False
请各位高手赐教!
譬如我的ConnectionString是:
Provider=Microsoft.Jet.OLEDB.4.0;User ID=Admin;Data Source=D:/check/remote viwer/db1.mdb;Mode=Share Deny None;Extended Properties="";Jet OLEDB:System database="";Jet OLEDB:Registry Path="";Jet OLEDBatabase Password="";Jet OLEDB:Engine Type=5;Jet OLEDBatabase Locking Mode=0;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password="";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDBon't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False
请各位高手赐教!