title: Passing values to html select from code behind
body: <p>I have an html select in one of my aspx pages and I would like to assign it the option value from code behind.</p>
  
  <pre><code>&lt;select id="pageSize" runat="Server"&gt;
          &lt;option value="how to set it from c#?"&gt;All&lt;/option&gt;
  </code></pre>
  
  <p>I have a property call <code>MyPageCount</code> of type int, how can i pass its value here?.</p>
  
  <p>I would appreciate any help.</p>
  
  <p>Regards</p>