使用MS VS和SQL数据库创建设置 [英] Creating a setup using MS VS with a SQL database

查看:88
本文介绍了使用MS VS和SQL数据库创建设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个使用sql数据库的Windows窗体程序(在gridview中显示数据),现在我想为该程序创建一个安装程序,如何添加数据库,使其包含在安装程序中? ="h2_lin">解决方案

以下是将文件添加到设置中的一些操作:
http://support.microsoft.com/kb/307353 [ Visual Studio Windows应用程序安装项目 [创建设置并支持使用VS.NET创建数据库 [在安装.NET应用程序期间创建数据库 [部署您的应用程序和数据库 [此处 [ ^ ].


I have create a windows form program that uses a sql database (shows the data in a gridview), I want to create a setup for the program now how do I add the database so its included in the setup?

解决方案

Here''s something about adding files to a setup:
http://support.microsoft.com/kb/307353[^]

And a codeproject article:

Visual Studio Windows Application Setup Project[^]


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[^]

Also, look at the answers given for the similar question asked here[^].


这篇关于使用MS VS和SQL数据库创建设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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