title: Saving - Order of operations in .NET (C#)
body: <p>I have a btnSave_Click() function in my code-behind. If a user clicks the save button (image) I created, it calls this function:</p>
  
  <pre><code>protected void btnSave_Click(object sender, EventArgs e)
  {
  this.saveForm();
  txtMessages.Text = "Save Complete";
  }
  </code></pre>
  
  <p>The saveForm() function obviously saves the form (through stored procedures). Will .NET wait until that save is complete before displaying the "Save Complete" message, or is there something else I should be doing to let the user know when the save is done.</p>
  
  <p>What's the best tutorial for this type of thing (i.e. spinner and notification of when save is complete)?</p>