使用C#访问数据库连接 [英] Access databse connectivity with C#

查看:85
本文介绍了使用C#访问数据库连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题是当我在C#中使用访问权限作为数据库创建Windows应用程序的设置时,它显示操作必须在每次更新和插入操作时使用可更新的查询.之后我做了一件事我更改了Access数据库文件所在文件夹的权限驻留在程序文件中,然后工作正常.现在的问题是,对于要在其中安装项目的每台计算机,我都需要更改文件夹权限.
在此先感谢您,另外一点请plz给出逐步而精妙的答案,我对此并不陌生.

解决方案

hi
请参阅此链接
如何链接到C#中的Access数据库应用程序 [ ^ ]


专家的回应非常差.....


problem is that when i create setup of my windows application in c# with access as database it shows operation must use updateable query on each update and insert operation.After that i did one thing i Changed permissions of the folder where Access database file resides in program files then it works fine. now the problem is that for each computer where i want to install my project i need to change folder permissions.
Thanks in Advance and one more thing plz give stepwise and eloborate answer i am new to this.

解决方案

hi
refer this link
How to link to an Access Database in a C# Application[^]


very poor response from experts.....


这篇关于使用C#访问数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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