如何使用.mdb文件创建exe作为DB [英] How to Create exe with .mdb file as DB
本文介绍了如何使用.mdb文件创建exe作为DB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我开发了一个窗口应用程序,其中我使用前端作为C#,后端作为sql server 2008 R2(.MDB文件,附加到应用程序本身)。
现在我想制作一个应该附加数据库的exe,如果我安装另一个系统,那么就不需要安装sql server了。可能吗?如果是的话怎么样?
提供示例应用程序的参考,如果有任何
I Developed a window application where i used front end as C# and back end as sql server 2008 R2 (.MDB file, which is attached to application itself).
Now i want to make an exe in which database should be attached and If i install it another system then there is no need to install sql server. Is it possible? if yes then how?
Give reference of a sample Application , If any
推荐答案
如果没有安装SQL Server,则无法使用.MDB文件。就这么简单。此外,没有将文件附加到.EXE。
You cannot use the .MDB file without SQL Server installed. It's that simple. Also, there is no such thing as "attaching" a file to an .EXE.
May LocalDB 适合您的解决方案?
May LocalDB fit your solution?
这篇关于如何使用.mdb文件创建exe作为DB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文