title: @Html.DropDownList issue in razor view?
body: <p>I have a form that respond to a submit button.</p>
  
  <p>I have my drop down list on menu as following:</p>
  
  <pre><code>@Html.DropDownList("State", new List&lt;SelectListItem&gt;
  {
      new SelectListItem { Text = "Please select" }, 
      new SelectListItem { Value = "AL", Text="Alabama" }, ....
      new SelectListItem { Value = "WY", Text="Wyoming" })
  </code></pre>
  
  <p>How can I get the selected value as bool or preferably as string in my model .. </p>
  
  <p>I need to validate </p>
  
  <pre><code>[Required(ErrorMessage = "Please select a state.")]
  public string/bool State { get; set; }
  </code></pre>
  
  <p>Please help.</p>
  
  <p>Thanks</p>