title: Update a listview when a button is pressed
body: <p>I have two listviews, one where the data is displayed and another where I insert data (InsertItemTemplate). When the button on the first one is clicked and data is entered in the database i want the other one to update.</p>
  
  <p>This is how i tried so far:</p>
  
  <pre><code>&lt;asp:Button ID="InsertButton" runat="server" CommandName="Insert" Text="Add movie" OnClick="InsertButton_OnClick" /&gt;
  </code></pre>
  
  <p>And in the aspx file:</p>
  
  <pre><code>protected void InsertButton_OnClick(object sender, EventArgs e)
  {
      Response.Redirect(Request.RawUrl);
  }
  </code></pre>
  
  <p>When i use "Response.Redirect(Request.RawUrl);" my data is not entered, so that will not work. What should I use instead to get this to work?</p>
  
  <p>Thanks in advance!</p>