0
How can I order the Dropdownlist?
<div class="form-group">
@Html.LabelFor(model => model.id_pessoa, "Pessoa", htmlAttributes: new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.DropDownList("id_pessoa", null, htmlAttributes: new { @class = "form-control" })
@Html.ValidationMessageFor(model => model.id_pessoa, "", new { @class = "text-danger" })
</div>
</div>
What is the type of property
model.id_pessoa
?– Tiago S
You could put your controller code?
– Cassio Alves