如何使用数据库部署项目 [英] how to deploy projects with database

查看:88
本文介绍了如何使用数据库部署项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi,
     i am using SqlSever 2005 database in my c# application.
App.config file code:
<pre lang="xml">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
&lt;configuration&gt;
  &lt;configSections&gt;
  &lt;/configSections&gt;
  &lt;connectionStrings&gt;
    &lt;add name=&quot;sql&quot; connectionString=&quot;Server=shan;Database=test;Integrated security=true&quot; &gt;&lt;/add&gt;
  &lt;/connectionStrings&gt;
&lt;/configuration&gt;</pre>

for the deployment, what i have to do for the below condition.

the client side,
1. No framework installed,
2. No SqlServers installed,

 Am i need to install framework, sqlserver at the client side manualy and create the database, tables like the same name...

or

Any other best way is there....

推荐答案

检查本文
使用Installer类轻松部署SQL Server数据库 [ ^ ]
Check this article
Deploy SQL Server databases easily with an Installer class[^]


这篇关于如何使用数据库部署项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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