Home > Database > Mysql Tutorial > body text

c# 连接access7,提示密码无效

WBOY
Release: 2016-06-07 15:43:31
Original
1759 people have browsed it

用c#连接access7,当不设置密码,可以正常运行。 语句如下: Provider=Microsoft.ACE.OLEDB.12.0;DataSource=c:\example.accdb; 但是设置密码后,提示密码无效。 语句如下: Provider=Microsoft.ACE.OLEDB.12.0;DataSource=c:\example.accdb; JetOLEDB:Databa

用c#连接access7,当不设置密码,可以正常运行。

语句如下:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\example.accdb;

但是设置密码后,提示密码无效。

语句如下:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\example.accdb;Jet OLEDB:Database Password=123456;

请解释一下。

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!