Click here to Skip to main content
15,878,945 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have developed A system for Customer management system. this is an client server application. multiple users can access the system from the server on same time. So I have an Interface which is contains Datagridview with multiple rows.
My prob is:
Once a user clicked on a row from a location, at the same time another user from another location cannot click on the same row. if he clicked the same row there should popup a message box with showing that "Already another user accessing the same row....."

So Please me to sort this Problem
Thanks in advance... :)
Posted
Updated 28-Oct-13 20:19pm
v3
Comments
Jim Jos 29-Oct-13 3:10am    
Hi.. You have to use some form observer pattern to notify the windows application to lock a particular row.. ObservableCollection on MVVM is one .. You could also use delegates with some Session objects..
BulletVictim 29-Oct-13 8:32am    
Try using it with updating the database table(checkedOUT column) when the row is clicked, then checking what the column value is when the row is clicked then based on that display the popup.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900