title: Send data from one page to another
body: <p>I am trying to send form data from one page to another using C# ASP.Net. I have two pages default.aspx  and default2.aspx.Here is the code I have in default.aspx:</p>
  
  <pre><code>&lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;
  &lt;br /&gt;
  &lt;asp:TextBox ID="TextBox2" runat="server"&gt;&lt;/asp:TextBox&gt;
  &lt;br /&gt;
  &lt;asp:Button ID="Button1" runat="server" Text="Go" 
      PostBackUrl="~/Default2.aspx" /&gt;
  &lt;br /&gt;
  </code></pre>
  
  <p>From what I know so far the PostBackUrl is used to set the page in which you want the data to be sent is this correct?</p>
  
  <p>Also how can I retrieve the data that is sent to Default2.aspx?</p>