设置基于数据库的C#应用​​程序 [英] Making a setup of db based c# application

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

问题描述

大家好,
谁能告诉我如何在wpf c#中进行自定义设置(使用我自己的用户协议,我自己的图片和徽标进行设置).我的应用程序包含一个约20个表的sql server数据库.我必须怎么做才能在目标计算机上建立数据库?我应该执行查询还是使用查询附加数据库?
请帮帮我!
Akkywadhwa

Hi Guys,
Can anyone tell me that how can i make a customized setup (setup with my own user agreement, my own pic and logos) in wpf c#. My application contains a sql server database of around 20 tables. What must i do to build database on target computer? Should I execute queries or attach the database using queries?
Please help me!
Akkywadhwa

推荐答案

http: //www.informit.com/library/content.aspx?b=STY_Csharp_24hours&seqNum=201 [ http: //www.codequake.com/post/2011/10/08/Setup-Project-How-to-create-a-custom-action-using-C-sharp.aspx [ http://stackoverflow.com/questions/5053206/setup-project-with-custom-form [ ^ ]
http://www.dreamincode.net/forums /topic/58021-deploying-ac%23-application-visual-studio-setup-project/ [
http://www.informit.com/library/content.aspx?b=STY_Csharp_24hours&seqNum=201[^]
http://www.codequake.com/post/2011/10/08/Setup-Project-How-to-create-a-custom-action-using-C-sharp.aspx[^]
http://stackoverflow.com/questions/5053206/setup-project-with-custom-form[^]
http://www.dreamincode.net/forums/topic/58021-deploying-a-c%23-application-visual-studio-setup-project/[^]


您需要创建一个设置随应用程序安装一起创建/部署数据库.

看看这些:
创建设置并支持使用VS.NET创建数据库 [在安装.NET应用程序期间创建数据库 [部署您的应用程序和数据库 [
You would need to create a setup that creates/deploy database along with your application install.

Have a look at these:
Creating setup With support for database creation Using VS.NET[^]
Create database during installation of a .NET application [^]
Deploy your Application and Database[^]


这篇关于设置基于数据库的C#应用​​程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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