数据库SQL Server 2005设置C#.net3.5窗口应用程序 [英] setup of C#.net3.5 window application with database sql server 2005
本文介绍了数据库SQL Server 2005设置C#.net3.5窗口应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尊敬的先生/女士,
因为我是这项技术的新手,所以我在C#.net 3.5中使用sql server 2005创建了一个Windows应用程序.我也通过vs2008向导进行了设置,但是我无法配置服务器(例如Amit/SQLEXPRESS).当我将安装程序安装到客户端系统上时,有什么方法可以使安装程序自动配置服务器名称.
请分步发送给我.
请帮助我
Dear Sir/madam,
As I am very new in this technology, and I have made a windows application in C#.net 3.5 with sql server 2005.I also made the setup from vs2008 wizard, But I can not configure Server (such as Amit/SQLEXPRESS). Is there any way to make the setup that automatically configure the server name when I install the setup onto client system.
Please send me the step by step process.
Please help me
推荐答案
嘿,伙计,
将连接字符串保存在app.config中
并在安装过程中进行更新
这是示例代码
修改app.config文件 [ http://raquila.com/software/configure-app-config-application -settings-during-msi-install/ [
hey dude,
save your connection string in app.config
and update it during setup
here is sample code
Modifying app.config File[^]
and
http://raquila.com/software/configure-app-config-application-settings-during-msi-install/[^]
这篇关于数据库SQL Server 2005设置C#.net3.5窗口应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文