vn.net中的数据库连接更改源 [英] Database connection in vn.net change source
本文介绍了vn.net中的数据库连接更改源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我正在Visual Studio 2008中制作一个与访问数据库(* .accdb)连接的程序.在项目属性中->设置是带有
Hello,
I am making a program in Visual Studio 2008 which is connected with access database (*.accdb). In project properties --> settings is the dataConnectionString with
value = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\odex.accdb;Persist Security Info=True".
的dataConnectionString
我在表单中创建了一个按钮来更改源,但是错误消息显示 这是一个只读值" .
如何禁用只读?
问候
I made a button in my form that changes the source, but the error massage says "This is a read only value".
How can I disable the read only?
Kind regards
推荐答案
vn.net =?
在VC ++中,您只需更改传递ADO/LINQ函数的字符串.
vn.net = ?
In VC++, you simply change a string that you pass an ADO/LINQ function.
这篇关于vn.net中的数据库连接更改源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文