开发者

can't add a .accde MS access file(located outside the project folder) as AccessDataSource

开发者 https://www.devze.com 2023-04-07 04:53 出处:网络
I\'m pretty sure that the .accde file does exist. I noticed that V开发者_Python百科S asks for .mdb file, but a .accdeis also a MS Access generated database file.

I'm pretty sure that the .accde file does exist. I noticed that V开发者_Python百科S asks for .mdb file, but a .accde is also a MS Access generated database file.

Here is the screenshot(hope it helps):

can't add a .accde MS access file(located outside the project folder) as AccessDataSource


From the MSDN AccessDataSource page.

The AccessDataSource class does not support connecting to Access databases that are protected by a user name or password, because you cannot set the ConnectionString property. If your Access database is protected by a user name or password, use the SqlDataSource control to connect to it so that you can specify a complete connection string.

So the .accde is protected in terms of security. Try use SqlDataSource.

0

精彩评论

暂无评论...
验证码 换一张
取 消