title: Create DropDown with predefined values in asp.net mvc 3 using Razor view
body: <p>I am making a partial view form my form. In it I want to display a drop down using 3 values, something like :</p>
  
  <pre><code>&lt;td&gt;
      @Html.DropDownList("Yes", "No", "Not Applicable")
  &lt;/td&gt;
  </code></pre>
  
  <p>Obviously I can not hard code the values like that, but this is the idea. I'll use this drop down only in this view so I want to keep the logic here if possible, the only thing is that I want to keep track on the selected value so I would like to add some hidden value like <code>Id</code> for example. Is there a way to do this in my view? I thought about passing a ViewBag argument or something like this but I really think that there must be a more elegant solution to this.</p>