problems with Dropdown

Apr 2, 2014 at 6:37 PM
how to fill a dropdownlist if it is coming from the database, and how to change the display acording to the amount received

View:
columns.Add(c => c.Sexo)
                .Encoded(false)
                .Sanitized(false)
                .SetWidth(30)
.RenderValueAs(c => Html.DropDownList("sexo", items)).Titled("Sexo");