Skip to content

Instantly share code, notes, and snippets.

@AndyCross
Created January 21, 2014 15:43
Show Gist options
  • Save AndyCross/8542473 to your computer and use it in GitHub Desktop.
Save AndyCross/8542473 to your computer and use it in GitHub Desktop.
A line for DropdownlistFor (for neckbeard)
@Html.DropDownListFor(m => m.Language, new SelectList(Enum.GetValues(typeof(Asos.Partyr.Common.Models.Entry.PartyLanguage)), Model.Language))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment