title: How to find out the html textbox's control in .cs file of C#.net
body: <p>//aspx file</p>
  
  <pre><code>&lt;input id="Text1" type="text" runat="server"/&gt;&lt;br/&gt;
  &lt;input id="Button1" type="button" value="button" onclick="Button1_Click" /&gt;
  </code></pre>
  
  <p>// cs file</p>
  
  <pre><code>protected void Button1_Click(object sender, EventArgs e)
  {
    //There are so many control.I am accessing value in string
    string s1 = "Text1";
    TextBox AgeTextBox = Page.FindControl(s1) as TextBox;
  
    AgeTextBox.Text;           
   }
  </code></pre>