如何在本地网络中运行c#项目 [英] How to run c# project in local network

查看:119
本文介绍了如何在本地网络中运行c#项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个系统中创建了一个注册页面,我想在不同的机器上共享相同的VIA LAN,并希望在同一台机器上共享相同的数据库。



我尝试了什么:



我是这个概念的新手,我没试过但看了一些教程但是我不能执行。

I have created one registration page in one system and i want to share the same in different machines VIA LAN only and want to share the same data base in the same machines.

What I have tried:

I am new to this concept to i did not tried but watched some tutorial but i unable to execute.

推荐答案

如果你想共享数据库,你真的需要使用数据库管理系统,如SQL Server或MySql - Access,SQLite或SQLCE不擅长多用户工作。

这意味着你需要在一台对局域网上所有其他PC可见的PC上安装一个版本的SQL Server,并制作你的软件通过它访问数据库。



这并不复杂,但在这样的小文本框中解释得太多了!

从这里开始: http://www.dotnetperls.com/sqlclient [ ^ ] - 它可以帮助您入门。
If you want to share a database, you really need to use a database management system, like SQL Server or MySql - Access, SQLite, or SQLCE are not good at multi-user working.
That means that you need to install a version of SQL Server on a PC that is "visible" to all the other PC's on the LAN, and make your software access the DB via that.

That's not complicated, but it is far too much to explain in a little text box like this!
Start here: http://www.dotnetperls.com/sqlclient[^] - it does a fair job of getting you started.


这篇关于如何在本地网络中运行c#项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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