title: How to bind a datatable to drop down list in ASP.net MVC?
body: <p>I am very new to ASP.net MVC . I want to bind a dropdown with a datatable while the page is loading intitaally. In webforms, i used to do like:</p>
  
  <pre><code>dropdownname.datasource=dt;
  dropdownname.textfield="name";
  dropdownname.valuefield="id";
  </code></pre>
  
  <p>name and id are the column names in data table. I am using aspx view engine. Please help on this,</p>