多用户窗口应用 [英] Window Application for Multi User

查看:71
本文介绍了多用户窗口应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,







我需要帮助。我目前正在使用Winforms和C#构建数据管理应用程序。此应用程序已安装在10台计算机上,并连接到服务器上的一个数据库。只在办公室网络。



这些应用程序使用数据网格视图显示员工列表。



现在的主要问题是,如果PC-A上的用户输入了新记录或更新了员工记录,PC-B上的数据网格视图不会自动更新。因此,如果我想刷新PC-B上的数据网格视图,我需要按REFRESH按钮重新加载记录。



所以现在的问题是,还有其他方法''数据网格视图''可以自动更新?



我不知道这个方法命名是什么,所以我希望有有谁愿意帮助我解决这个问题。如果我的问题已经存在,希望有人可以给我一个链接。







谢谢提前

Neetesh Agarwal

Hello friends,



I need help. I am currently building data management applications using Winforms and C#. This application has been installed on 10 computers and are connected to one database on the server. Network only in the office.

These applications use the data grid view to display a list of employees.

The main problem now, if users on PC-A has entered a new record or update employee records, data grid view on PC-B is not updated automatically. So if I want to refresh the data grid view on PC-B, I need to press the "REFRESH" button to reload the record.

So the question is now, there are other ways to ''Data Grid View'' can be updated automatically?

I do not know what it is named this method, so I hope there is anyone willing to help me in solving this problem. If the my question is already exist, hope someone can give me a link.



Thanks in Advance
Neetesh Agarwal

推荐答案

这不是我们可以回答的问题 - 当然不是基于这些小信息。

我们不知道连接两个系统的是什么:局域网?互联网?数据库?锡罐和绳子?



有很多不同的方法可以做到这一点,你做的方式取决于你想要的应用程序类型写。例如,互联网聊天应用程序对基于LAN的库存控制系统有不同的要求。基于电子邮件的国际象棋游戏将有更多,完全不同的需求。



想想你想要制作什么样的应用程序,并尝试使用谷歌搜索。如果不出意外,它会让您更好地了解您需要什么样的通信方式。
This isn''t a question we can answer - certainly not based on that little information.
We have no idea what connects the two systems: LAN? Internet? Database? Tin cans and string?

There are so many different ways that this could be done, that the way you do it will depend on what kind of application you are trying to write. An internet chat application for example has different requirements to a LAN based stock control system. An email-based chess game would have further, totaly different needs.

Think about what kind of application you want to produce, and try googling for that. If nothing else, it will give you a better idea what form of communications you will need.


这篇关于多用户窗口应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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