Click here to Skip to main content
15,911,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, Just now i m working on mock test project. This application is shared by multiple user at the same time. now as i m new to this type of project can any one help to carry out this project. Actually i dont know how each candidate work with distinct candidate_id at the same time. there is lots of confusion plz help me out....
Posted

1 solution

Hi,

What i understand is, you have created one windows application and you would like to test it by multiple users.

Answer : You need to keep your database centrally and all other application have that Database credential and other information in configuration file. All users will use that application from different computers but database will be central.

In above scenario, you need to install application on all the computers from you would like to test.

Let me know if this helps you,

Thanks
-Amit Gajjar
 
Share this answer
 
Comments
Member 8233601 9-Aug-12 1:01am    
sir its fine, but suppose candidate A and candidate B start working at the same time. candidate A work on ID 001 so how can i check that candidate B should not work on ID 001 at that time or any later time. I just want to stop working of multiple candidate on the same id while they are working simultaneously or at any later time
AmitGajjar 9-Aug-12 1:07am    
Ok, now this sounds other question. you need to implement write lock on that row. if you want to restrict other user to use that ID 001 then create lock table and add locked ID information. you also need to care about to release the lock. i don't know if any inbuild functionality available for that.
AmitGajjar 9-Aug-12 1:08am    
and don't call me sir, you can call me friend.
Member 8233601 9-Aug-12 1:19am    
how i come to which row to lock because i dont know which id is working at which instance of time. please provide me nay link or somr code if u have...
AmitGajjar 9-Aug-12 1:26am    
if you are using stored procedure, then you can update your SP with some lock code. when you open any ID on page for editing add one entry in lock table with date of lock release datetime. And At the time of Editing any row you can check for release datetime for particular ID. it's big functionality. you give it some thought and come with some solution.

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