I am facing a problem .i think someone must solved
it.actually I developing a college project. There are a DueCollection page in
which one of the column is challan No.Challan No is unique and Auto Generate.
Problem is in Challan
No.suppose 5 user are working in same page then one Challan No is generate and
save in database which is a serious problem for me.
What I do,I have a textbox which I generate a maximum
challan no from database.suppose maximum challno is 100 and when 5 user are
open the same page 100 is show to 5 user and suppose one user is save one
record then it should be convert 101 to 4 user but it not
be.100 is save 5 times in database. I can't
found any solution .the biggest problem is Challno Textbox is visible.user must see .
How can I manage the same?please someone help me.
View Complete Post