title: Html.DropDownList default selected item
body: <p>I am displaying a list of dropDownLists inside a <code>ForEach</code> loop.</p>
  
  <p>This is the code </p>
  
  <pre><code>@foreach (var task in Model.TaskList)
      {
          &lt;tr&gt;
              &lt;td&gt;@Html.DropDownList("ModuleID", new SelectList(Model.ModuleList, "ModuleID", "Ordre"))
              &lt;/td&gt;
          &lt;/tr&gt;
      }
  </code></pre>
  
  <p>I want the <code>Module</code> of each <code>Task</code> to be selected by default. This could easily be done using <code>DropDownList</code> if only I was binding the dropDownList to a view model, but that's not the case.</p>
  
  <p>Any ideas ?</p>