According to the example project of the music store, I am doing it like this:
<div class="editor-field">
<%: Html.DropDownList("PlaceID",new SelectList(ViewData["Places"] as IEnumerable,
"Place",
"Town",
Model.PlaceID)) %>
</div>
Now i want the text of the items to be a combination of two properties. (Town + zip instead of Town alone)
How do I do that?
(Asp.net MVC2; .net 4)

New Topic/Question
Reply


MultiQuote




|