asp.net lock page method until action finished
<p>I have an asp.net page that execute some update to db. The updates takes 2-3 seconds, all these hapends in a method that first read data from db and do some updates. When the page request are less then 2 sec for these action, the db read code, read the same state of records in db, and all update actions of asp.net page requests updates the same records.</p>

<p>How i can prevent these, that the newest request wait untill the oldest finish their execution?</p>

<p>Any ideas? </p>
