使用网络上的数据库创建安装向导 [英] Creating a Setup Wizard with Database on Network

查看:81
本文介绍了使用网络上的数据库创建安装向导的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friendz,

对于基于Windows的应用程序.

我在C#中做了一个小项目,我使用MS Access作为数据库.
我想将该单个文件(MS Access文件)保留为共享数据库.但是我不知道怎么做.

->部署中是否有任何步骤,以便我可以将该访问文件放置在我或其他系统目录中的某个位置,然后从我的系统中使用它?

->是否有任何教程或其他内容.

我知道是否可以将其转换为SQL或SQLYOG,但我想知道这一点.

请让我知道..谢谢

Hello Friendz,

For Windows Based Application.

I had made one small project in C# in which I''m using MS Access as a Database.
I want to keep that single file (MS Access file) as a shared database. But I don''t know how to make it.

-> is there any steps in Deployment so that I can place that access file some where in my or other''s system Directory and then using it from my system??

-> Is there any tutorial or something.

I know it is possible if I make it into SQL or SQLYOG But I want to know with this.

Please let me know.. Thanks

推荐答案

查找这些链接,这将帮助您共享ms访问数据库.
http://office.microsoft.com/zh-cn/access-help/ways-to-share-an-access-database-HA010279159.aspx [ http://office. microsoft.com/en-us/access-help/set-options-for-a-shared-access-database-mdb-HP005188297.aspx [ http://office.microsoft.com/en-us/access-help/about-sharing-an-access-database-on-a-network-mdb-HP005240860.aspx [
Look these links, which will help you to share ms access data base
http://office.microsoft.com/en-us/access-help/ways-to-share-an-access-database-HA010279159.aspx[^]

---------------------------------------------------------------------

http://office.microsoft.com/en-us/access-help/set-options-for-a-shared-access-database-mdb-HP005188297.aspx[^]

------------------------------------------------------------------------
http://office.microsoft.com/en-us/access-help/about-sharing-an-access-database-on-a-network-mdb-HP005240860.aspx[^]


您可以尝试以下步骤

设置您的应用程序
将数据库放在网络驱动器或共享文件夹上.
安装应用程序.
安装此文件时,您可以看到配置文件,
可能有多个配置文件,通常是yourappname.config
打开它并修改连接字符串
You can tried these steps

make setup of your application
put your database on network drive or shared folder.
install appllication.
when you install this, you can see configuration file,
there may be more than one config file, generally it will be yourappname.config
open it and modify connection string
<add key="ConnectionString" value="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\10.0.0.1\oms


\ FileInventory \ FileInventory.accdb; Jet OLEDB:Database/>< br mode =" hold = />< br模式=" </ 添加 >
\FileInventory\FileInventory.accdb;Jet OLEDB:Database /><br mode=" hold=" /><br mode="></add>


这篇关于使用网络上的数据库创建安装向导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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