title: How to pass variable from page to another page in ASP.NET
body: <p>I want to ask how to pass a variable from a page to another page.</p>
  
  <p>example.</p>
  
  <p>in (page1.aspx.cs) there is button click and textbox</p>
  
  <pre><code>    protected void Button1_Click(object sender, EventArgs e)
      {
          textbox1.text = ;
  
      }
  </code></pre>
  
  <p>in (page2.aspx.cs)</p>
  
  <p>A = "hello"
  // A is variable that can be change, A variable is coming from microC</p>
  
  <p>What I want is show "hello" from page2 in textbox1.text when I click button1 in page1.aspx</p>