Visual Studion 2010和SQL Server 2008安装项目 [英] setup project with visual studion 2010 and sql server 2008

查看:70
本文介绍了Visual Studion 2010和SQL Server 2008安装项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用c#(visual studio 2010)创建了桌面应用程序,并使用sql server 2008创建了一个数据库.
我做了一个安装项目,但问题是:
1-如何将数据库文件放入我的安装项目中?
2-当我在另一台计算机上安装应用程序时,如何在SQL Server 2008 Express中自动附加数据库?
3-还有另一种解决方案,而不是在其他计算机上安装sql server 2008 express,而是将应用程序安装在其他计算机上(它们之间没有网络)?

I created desktop application using c# ( visual studio 2010 ) and a database using sql server 2008.
and i made a setup project but the question is :
1- how to put the database files in my setup project?
2- how can i attach the database automatically in sql server 2008 express when i install the application on another machine?
3- there is another solution instead of install sql server 2008 express on the other machines i''ll install the application on it (there is no network between them )?

推荐答案

你好..

经历这个..
http://blogs.msdn.com/b/webdevtools/archive/2007/10/15/sql-database-publishing-wizard-is-now-in-visual-studio-orcas.aspx [ http://www.dotnetforce.com/Content.aspx?t=a&n=218 [^ ]
Hi there..

Go through this..
http://blogs.msdn.com/b/webdevtools/archive/2007/10/15/sql-database-publishing-wizard-is-now-in-visual-studio-orcas.aspx[^]

or you can also try this

http://www.dotnetforce.com/Content.aspx?t=a&n=218[^]


这篇关于Visual Studion 2010和SQL Server 2008安装项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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