title: Form and QueryStrings in ASP.Net
body: <p>I have a form on home.aspx that is this:</p>
  
  <pre><code>                    &lt;form name="search" method="post" action="searchresults.aspx" id="searchform" runat="server"&gt;
                          &lt;div class="searchField"&gt;
                              &lt;input name="keywords" type="text" id="keywordSearch" value="Enter keywords" class="watermark" /&gt;
                          &lt;/div&gt;&lt;!--end searchField--&gt;
                          &lt;div class="advanceSearchBox"&gt;
                              &lt;p&gt;&lt;b&gt;Narrow results by:&lt;/b&gt;&lt;/p&gt;
  
                              &lt;asp:Literal ID="ltrlPopulation" runat="server" /&gt;
  
                              &lt;asp:Literal ID="ltrlDatasource" runat="server" /&gt;  
  
                          &lt;/div&gt;&lt;!--end advanceSearchBox--&gt;
                          &lt;div style="float: right; margin-right: 2px;"&gt;
                              &lt;asp:ImageButton ImageUrl="images/go_up.png" AlternateText="GO" Width="34" Height="24" id="keywordSearchGO" runat="server" /&gt;
                          &lt;/div&gt;
                      &lt;/form&gt;
  </code></pre>
  
  <p>And on my searchresults.aspx.cs page I have this QueryString but its always empty:</p>
  
  <pre><code> Response.Write(Request.QueryString["keywords"]);
  </code></pre>
  
  <p>Did I forget something?</p>