您好,
我使用MS Access作为VC ++应用程序的数据库。有时这个数据库被破坏(Pl见附图)。造成这种腐败的原因是什么?我必须做什么,以便数据库不会被破坏?否则,如果它损坏了,我的应用程序应该如何识别此数据库是否已损坏以及如何以编程方式进行修复?
另请注意,即使数据库损坏了我的应用程序能够正确连接它,当我尝试连接这个数据库时它不会给我任何错误。
我使用的是VS 2010,它是一个MFC应用程序。
解决方案
可能有很多原因。
这是一些关于腐败的好信息的链接
www.granite.ab.ca/access/corruptmdbs.htm
Hello,
I am using MS Access as Database for my VC++ application. Sometimes this database get corrupted (Pl see the attached image). What could be the reason for this corruption? What I have to do, so that database do not get corrupted? Or else if it get corrupted, how should my application identify that this database get corrupted and how can I repair programatically?
Also, note that even when database get corrupted my application able to connect it correctly and it do not give me any error when I try to connect this database.
I am using VS 2010 and it's an MFC application.
解决方案There can be many reasons.
Here is a link to some good information on corruption
www.granite.ab.ca/access/corruptmdbs.htm
更多推荐
MS Access数据库损坏
发布评论