title: How to change input text value with c#
body: <p>I have an aspx file, that contain a form. In the form there is input type text.
  How can I change it value via the c# code?</p>
  
  <pre><code>&lt;script runat="server"&gt;
      protected void Page_Load(object sender, EventArgs e)
      {
          int num = 5;
          if (num &gt; 6)
              mytextbox.value="big";
          else
              mytextbox.value="small";
      }
  &lt;/script&gt;
  &lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server"&gt;
  &lt;/asp:Content&gt;
  &lt;asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server"&gt;
      &lt;form method="get" id = "myform"&gt;
      &lt;input id="mytextbox" type="text" name="mtb" /&gt;
      &lt;/form&gt;
  &lt;/asp:Content&gt;
  </code></pre>
  
  <p>Thank you!!</p>