与exe一起安装数据库 [英] Install database along with exe

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

问题描述

我正在完成我的最后一年的项目.
我已经使用c#制作了一个购物中心管理系统.
现在我想制作一个exe文件,但条件是我希望该项目的数据库也要包含在exe文件中.
一旦运行exe文件,数据库也应安装在我的系统上.
该数据库位于SQL SERVER 2000中.
请在我3月29日提交项目CD时,有人可以告诉我请帮助..

谢谢...
Mahera

I m working on my final year project.
I have made a shopping mall management system using c#.
Now i want to make a exe file but condition is i want the database of the project also to be included in exe file.
As soon as i run the exe file the database should also be installed at my system.
The database is in SQL SERVER 2000.
Pls can any one tell me pls as i hv to submit the project CD on 29th march pls pls help..

Thanx...
Mahera

推荐答案

据我所知这是不可能的.您将必须使用Microsoft提供的安装程序单独安装SQL Server.

如果您想要开箱即用的东西而无需安装任何东西,那么我建议您使用 http://www.sqlite.org/ [ ^ ].有一个C#包装器. http://sqlite.phxsoftware.com/ [
As far as I know this is not possible. You will have to install SQL server separately using the installers provided by Microsoft.

If you want something that works out of the box without installing anything then I suggest you use http://www.sqlite.org/[^]. There is a wrapper for C# http://sqlite.phxsoftware.com/[^]. I guess it should be relatively easy to move from SQL Server to SQLite using this wrapper.

-Saurabh


是否需要拒绝投票的任何特殊原因?

-Saurabh

[这不是答案.在下面的论坛中发表这些评论]
Any particular reason for downvoting?

-Saurabh

[This is NOT an answer. Use the forum beneath for these comments]


这篇关于与exe一起安装数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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