应用程序中的多个用户登录问题 [英] mutiple user login issue in application

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

问题描述

你好朋友,

我用C#在asp.net中制作了一个应用程序.当我通过同一用户在不同的PC上登录并在不同的模块上工作时,它在单用户处理期间正在等待其他用户.完成单用户的处理后,之后其他用户可以在表单上获取适当的数据.
请尽快为我提供一些解决方案.

谢谢
Sonal Patel

Hello friends,

I have made one application in asp.net with C#.when i am login through same user on different pc and working on different module then it is waiting to other users during the processing on single user.after finished the process of single user, then after other users can get proper data on form.

kindly give me some solution for this issue ASAP.

Thank you,
Sonal Patel

推荐答案

1.将Transactions 用于不同的DML(insert,update,delete)操作.
2.使用Stored ProceduresParameterized Query插入和更新数据.


谢谢
Ashish
1. Use Transactions for different DML(insert,update,delete) operations.
2. Use Stored Procedures or Parameterized Query for inserting and Updating data.


Thanks
Ashish



了解SQL Server NOLOCK提示 [
Hi,
Understanding the SQL Server NOLOCK hint[^] this will helpful to you


这篇关于应用程序中的多个用户登录问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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