title: multiple select list c# mvc
body: <p>I am trying to create a multiple select from a single select drop down menu.
  my model originally had:</p>
  
  <pre><code>public int country_id { get; set; }
  </code></pre>
  
  <p>and my view had: </p>
  
  <pre><code> @Html.DropDownList("country_id", String.Empty) 
  </code></pre>
  
  <p>to change it to multiple select i changed my model to:</p>
  
  <pre><code>public List&lt;Country&gt; country_id { get; set; }
  </code></pre>
  
  <p>and my view to:</p>
  
  <pre><code>@Html.ListBoxFor(model =&gt; model.country_id, ViewBag.ActionsList as MultiSelectList, new { @class = "multiselect", @style = "width: 450px;height:200px" })
  </code></pre>
  
  <p>the problem i am having is updating my databse using migration since the i am changing <code>int</code> to <code>list</code>, however, it keeps saying </p>
  
  <blockquote>
    <p>"Cannot drop the index 'dbo.People.IX_country_id', because it does
    not exist or you do not have permission."</p>
  </blockquote>
  
  <p>I do have permission so I am not sure if I am missing something?</p>
  
  <p>My list of countries is coming straight from the country database.</p>
  
  <p>thanks for your inputs.</p>