如何在winform应用程序本身的设置中包含mdf文件? [英] How to include mdf file in the setup of winform application itself?
问题描述
我正在为dataentry开发一个离线winform应用程序。我是否可以在应用程序设置本身中包含数据库文件?显然,我不想单独向用户提供mdf文件并要求他将其放在特定位置的C盘中。用户应该只需安装设置并从dataentry开始。另外,请给我一些关于如何允许用户创建数据库(mdf)文件备份的建议?除了手动转到mdf文件并将其粘贴到其他地方。
请参阅链接以获取分步说明,以创建包含mdf文件:
http://www.msdotnet.co.in/2013/07/how-to-create-setup-fileexe-with.html#.VEI-V_mUf14 [ ^ ]
I am developing an offline winform application for dataentry. Is it possible for me to include the database file within the application setup itself?Obviously, I dont want to give mdf file separately to the user and ask him to place it in C drive at a specific location. user should be able to just install the setup and start with the dataentry. Also please give me suggestions on how i can allow user to create back ups of the database (mdf) files? other than manually going to the mdf file and copy pasting it to some other place.
Refer the link for the step by step instructions to create a setup file including the mdf file :
http://www.msdotnet.co.in/2013/07/how-to-create-setup-fileexe-with.html#.VEI-V_mUf14[^]
这篇关于如何在winform应用程序本身的设置中包含mdf文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!