title: How to get selected value/text from HTML Select in codebehind
body: <p>I'm trying to get my selected value/text from and HTML select option but I can't get it! I already tried with answers posted in this website but none works.</p>
  <p>This my code:</p>
  <pre><code>&lt;select id=&quot;Select&quot; name=&quot;Select&quot; runat=&quot;server&quot;&gt;
      &lt;option value=&quot;1&quot;&gt;Option 1&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  <p>I tried these C# codes:</p>
  <pre><code>//With this I get Index out of range error message:
  string name = nombre.Items[nombre.SelectedIndex].Text;
  //With this I get nothing:
  string name = this.nombre.Value.ToString();
  //Nothing here:
  string name = this.nombre.Value;
  </code></pre>
  <p>What can I do? It's necessary using html select control.</p>