How to write a simple Html.DropDownListFor()?

Posted by Rinesse on Stack Overflow See other posts from Stack Overflow or by Rinesse
Published on 2010-06-16T23:21:03Z Indexed on 2010/06/16 23:32 UTC
Read the original article Hit count: 196

I'm new in ASP.NET MVC 2 and I'd like to write a very simple dropdown list which gives static options. For example I'd like to provide choices between "Red", "Blue", and "Green".

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about html.dropdownlistfor