title: MVC 1.0 DropDownList static data select not working
body: <p>I'm new to MVC and C#. I'm trying to get a static list to work with a DropDownList control such that the selected value rendered is set by the current Model value from the DB.</p>
  
  <p>In the controller, I have:</p>
  
  <pre><code>  ViewData["GenderList"] = new SelectList(new[] { "Female", "Male", "Unknown" }, donor.Gender);  
  </code></pre>
  
  <p>In the view:</p>
  
  <pre><code> Gender:&lt;%=Html.DropDownList("Gender", (IEnumerable&lt;SelectListItem&gt;)ViewData["GenderList"]) %&gt;
  </code></pre>
  
  <p>In the debugger, donor.Gender is "Male", but "Female" gets rendered in the view. </p>
  
  <p>I've read a number of posts related to select, but I've not found one that applies to a static list (e.g., where there's no "value" and "name" to play with).  I'm probably doing something stupid...</p>