如何使用数据库部署项目 [英] how to deploy projects with database
本文介绍了如何使用数据库部署项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi,
i am using SqlSever 2005 database in my c# application.
App.config file code:
<pre lang="xml"><?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="sql" connectionString="Server=shan;Database=test;Integrated security=true" ></add>
</connectionStrings>
</configuration></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屋!
查看全文