title: Populating a dropdown from ViewData
body: <p>I have viewdata in my controller which is populated by a list:</p>
  
  <pre><code>List&lt;employee&gt; tempEmpList = new List&lt;employee&gt;();
  tempEmpList = context.employees.ToList();
  ViewData["tempEmpList"] = tempEmpList;
  </code></pre>
  
  <p>and I am passing this into my view, the question is, how do I place the content of the viewdata list into a dropdown list?</p>
  
  <p>The display data will be <code>.name</code> from the list item.</p>
  
  <p>I know I could do a <code>foreach</code> on the Viewdata and create a select list, but this seems a bit long winded</p>