title: How to get the text value from textbox within a FormView from ascx file in the ascx.cs file
body: <p>I have an asp: text box in an FormView in an ascx file like this></p>
  
  <pre><code>&lt;asp:FormView runat="server" ID="myFrmView"&gt;
  
      &lt;asp:TextBox runat="server" ID="txtBox1" size="20" MaxLength="150" &gt;
  
  &lt;/FormView&gt;
  </code></pre>
  
  <p>But in the code-behind ascx.cs file I can't retrieve the value from the textbox </p>
  
  <pre><code>string name2 = Request.Form["txtBox1"];
  </code></pre>
  
  <p>How to get the value?</p>