Click here to Skip to main content
13,000,469 members (58,156 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hello friend,

I am Working in Windows Application which is for multi user. There is grid view in Form.
My problem is that If a User change value in the combobox-Cell of Grid View on that time Other user can not able to change value, Until the Grid View Update.
I used flag in database but its not working properly. Please suggest me what should I use?
I am using MYSQL as a database

Thanks in Advance
Neetesh Agarwal
Posted 5-Apr-13 22:19pm
Updated 6-Apr-13 0:11am
onurag19 6-Apr-13 4:43am
Is Same form is opened at same time.
Neetesh Agarwal 6-Apr-13 4:49am
Yes in Different System.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Set a flag in database say Status column.If the column value is 1 then it is open some where.In this case restrict the user to access the database.

In the other case if 1st user is accessing the database means the status field will be 1.And once the user updates the database then only make the status column as 0.Then only other user can access the database.

I told the logic.Try it your own.If you will have any confusion then let me know.Ok

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170624.1 | Last Updated 8 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100