构建窗口数据库驱动的应用程序需要什么 [英] What is required in building window database driven application

查看:77
本文介绍了构建窗口数据库驱动的应用程序需要什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建良好的工作后,我编写了使用sql数据库的C#应用​​程序.但是,当我从生成的(exe)中进行安装(msi)时.它在未安装sql server或visual studio的其他计算机上不起作用.在连接字符串中,我将数据源用作(.\ SQLEXPRESS).我想了解构建数据库驱动的应用程序的详细步骤.

I wrote C# application that use sql database after building it work well. but When I make an install(msi) from that resulting (exe). It doesn''t work on other computer on which sql server or visual studio is not installed. In connection String I used Data Source as(.\SQLEXPRESS).I want to know detail steps in building database driven application

推荐答案

您需要安装SQL Server的副本.您可能需要在局域网内的计算机上安装SQL Server,并在所有已安装的软件实例之间共享数据.您还可以选择安装SQL Server的本地副本,以使您的应用程序数据保持私有.

如果要在本地计算机上安装SQL Server,则可能需要SQL Server Express,它是功能有限的轻型版本,但是非常适合存储应用程序数据.

希望对您有帮助!

爱德华(Eduard)
You need to install a copy of SQL Server. You may want to install SQL Server on a computer within your LAN and share the data between all installed instances of your software. You can also choose to install a local copy of SQL server which enables you to keep your application data private.

If you want to install SQL Server on a local computer you may want SQL Server Express which is a light version with limited capabilities, but perfect for storing application data.

Hop it helped!

Eduard


看看此白皮书:
Have a look at this White Paper: http://msdn.microsoft.com/en-us/library/bb264562(v=sql.90).aspx[^]. It''s targeting SQL Server Express 2005 but 2008 version is quite similar if you use that.


这篇关于构建窗口数据库驱动的应用程序需要什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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