数据库应用问题。 [英] database application problem.

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

问题描述

我使用MS Access数据库在C#2012中构建了一个窗口表单应用程序。

它完美地工作(写入和读取数据库)。

部署和安装后,它只能从数据库中读取,但在我尝试将数据写入数据库时​​总是抛出exeption / error。

我应该做什么?

I built a window form application in C# 2012 using MS Access database.
Its working perfectly (writing into and reading from the database).
After deployment and installation, it can only read from the database but always throw exeption/error anytime I attempt to write data to the database.
What I my supposed to do pls?

推荐答案

您可能已将其安装在程序文件中,数据库文件也在那里。好吧,只要应用程序没有以提升的权限运行,您将无法在那里进行翻转。将数据库文件放在受限制的系统文件夹之外。
You have probably installed it in "Program files" and the database file is also there. Well, as long as the application is not running with elevated privileges you won't be able to writhe there. Put the database file out of restricted system folders.


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

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