设置中的数据库文件 [英] Database file in setup

查看:103
本文介绍了设置中的数据库文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我使用c#.net 2做了一个软件,并且使用了sql server 2005,我想知道:

1.我需要在setup.exe中设置什么以便用户可以使用数据库?
(我想知道用户必须安装sql server表示不可避免吗?)

2.我应该在项目中的数据库文件中找到什么位置?

Hello
I did a software with c#.net 2 and I used of sql server 2005, I want to know that:

1. what I need to set in setup.exe that user can work with database?
(I want to know does user must install sql server express inevitable?)

2. where I should locate my data base file in project?

推荐答案

1 SQLCE特别适合作为嵌入式/桌面数据库.
2任何您想要的地方:)

http://www.microsoft.com/sqlserver/2005/en/us/compact.aspx [ ^ ]

欢呼声
1 SQLCE is specifically intend as embedded/desktop database.
2 Wherever you want :)

http://www.microsoft.com/sqlserver/2005/en/us/compact.aspx[^]

Cheers


您可以从安装中安装SQL Express,并将数据库放入一个文件夹中.然后,您可以在应用程序中或安装结束时发出附件.

我们已经完成了过去的申请.
You can install SQL Express from the install and put the database int a folder. You can then issue an attach as part of the application or at the end of the install.

we have done that int he past for an application.


这篇关于设置中的数据库文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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