Click here to Skip to main content
15,907,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone

Can any one guide me how can i use application variable

actually i hve a web application in which i want to get max id and then increment one in it and then save to table but the problem i m facing is that is multiple users work at same time then there may be conflict in Id
so plz guide me wht can i do

Regadrs
Posted
Comments
Vadluri Sreenu 24-Sep-10 3:16am    
hey, you can use lock concept to use application variables.
Sandeep Mewara 24-Sep-10 5:31am    
Elaborate on what your scenario is and what you are trying to do.

You can lock, unlock the application variable before and after using it
 
Share this answer
 
 
Share this answer
 
Comments
eraser950 25-Sep-10 1:36am    
thnx for ur help

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