如何为多个用户创建Windows应用程序? [英] How do I create windows application for multiple users ?
本文介绍了如何为多个用户创建Windows应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个 Windows应用程序单个用户,使用 C#和Sql 。现在我需要为 多个用户转换相同的应用程序。我的需求。是一个很多用户可以一次使用该应用程序,数据库应该在一个地方更新,访问,... .. / / $
请指导我如何进一步。
Thanx在adv。 :)
Hi,
I have created a windows application for a single user, Using C# and Sql. Now I need to convert the same application for multiple users. My req. is that many users can use the application at a time and database should be updated, accessed,.. at/from one place.
Pls guide me how to proceed further.
Thanx in adv. :)
推荐答案
在DB Layer中使用连接池技术,在程序中使用NOLOCK。
Use the connection Pooling Technique in DB Layer and in procedure use NOLOCK.
你好Pdeveloper!>
此处已经提出了类似的问题:
C#应用程序中的多用户 [ ^ ]
Hi Pdeveloper!
The similar question has already been asked here:
Multi User in C# Applications[^]
正常设计/开发应用程序,添加用户身份验证以控制登录应用程序的用户。应用程序实例可以使用远程存储在服务器上的同一数据库。您可能需要优化sql以适应事务。
design / develop the application as normal, adding user authentication to control users loging in to the application. Application instances can use the same database that is stored remotely on a server. You may need to optimise sql to accomodate transactions.
这篇关于如何为多个用户创建Windows应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文