title: Pass a value from one page to another use button or link and code?
body: <p>In asp.net, C#, I actually want 3 conditions on a particular click to delete a record:
  1. Ask for confirmation
  2. Redirect to another page
  3. Pass the id of the record to be deleted internally(not present in any text field or anything) to the next page whose record has to be deleted</p>
  
  <p>If i use a link i an fulfill the 2nd and 3rd condition by using a query string</p>
  
  <p>but if i use a button, then i can fulfill the 1st and 2nd condition.
  </p>
  
  <p>and in the onclick i redirect it to the next page.</p>
  
  <p>I tried with postback url also, it gives the value 0.</p>
  
  <p>Can anybody tell me what should i use and how so that all the 3 conditions are fulfilled?</p>