1个回答
展开全部
Dim Path As String
Path = App.Path & "\我的新项目\数据库\dkf.accdb;"
Adodc1.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Path & "Persist Security Info=False;Jet OLEDB:Database Password=daikaifan1987122;Jet OLEDB:Create System Database=True;Jet OLEDB:Encrypt Database=True;Jet OLEDB:Don't Copy Locale on Compact=True;Jet OLEDB:Compact Without Replica Repair=True"
Path = App.Path & "\我的新项目\数据库\dkf.accdb;"
Adodc1.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Path & "Persist Security Info=False;Jet OLEDB:Database Password=daikaifan1987122;Jet OLEDB:Create System Database=True;Jet OLEDB:Encrypt Database=True;Jet OLEDB:Don't Copy Locale on Compact=True;Jet OLEDB:Compact Without Replica Repair=True"
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询