title: How to refresh page after a throw exception
body: <p>I have code that checks for certain values after the save button is clicked. The user enters a value into the textbox and if a value isn't selected from the dropdownlist then an exception will be thrown. The textbox has a default value of one. So if no reason is selected then display message. The problem is whatever value was put into the textbox is still there but if I manually refresh the page then it gets defaulted back to one. I need to refresh the page after the exception so the textbox goes back to the default value.</p>
  
  <pre><code>JobPieceSerialNo SerNo = new JobPieceSerialNo(job.ID);
  if (SerNo.Reason == null)
  {
       throw new Exception("Must select reason");
       Response.Redirect("Job.aspx?JobID=" + Request.QueryString["JobID"], false);
  }
  </code></pre>
  
  <p>Putting the response code after the exception makes the code unreachable and putting it outside of the if statement doesn't seem to work either. So how can I refresh the page? </p>