在vb.net 2010中打开受密码保护的数据库(.mdb)的MySQL命令 [英] MySQL Command for opening a password protected database(.mdb) in vb.net 2010

查看:139
本文介绍了在vb.net 2010中打开受密码保护的数据库(.mdb)的MySQL命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在这里遇到困难.有人可以帮我吗.假设以表格或任何形式为例:-

加载frmLogin时,我使用SQL命令对连接字符串进行编码.

好的,在声明数据库的路径之后,我将打开dataConnection,例如:dcAccessCode.open(),但是当我尝试调试时,它在需要密码打开应放在x位置的数据库时出错,例如:dcAccessCode.open(x).

那么有人可以告诉我如何在x中插入密码吗?我需要一个伪代码.然后,我将进行修改.请帮助我.

Hi all,

I have a hard situation here. Could someone help me. Assume that the form or anything as example:-

When the frmLogin load, I code the connection string using SQL Command.

Ok, after when declare the path of the database, I will open the dataConnection eg: dcAccessCode.open() but when I try to debug, it error where it need the pasword to open the database where it should be put in the x, eg: dcAccessCode.open(x).

So could someone tell me how to insert the password in the x? I need a dummy code. Then I will modify. Please help me.

推荐答案

看看 http://www.connectionstrings. com/ [^ ].


这篇关于在vb.net 2010中打开受密码保护的数据库(.mdb)的MySQL命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆