Accessing one text 
<p>ASp.NET application.
In button click i am accessing one text file and reading content.</p>

<p>while both users clicking this button at a time deadlock will occurs so how to handle this i want to read each user one by one can any one suggest method to handle.
  i am looking to handle with waithandle events so can any one give a code sample for above scenario.</p>
