title: Can I customise my data text field in an MVC SelectList for use with the HtmlHelper.DropDownList without having to create a new struct or class?
body: <p>I am creating a SelectList from a List(T) class to use to populate a HtmlHelper.DropDownList in an MVC view, setting the dataValueField and dataTextField in the Select List constructor.  The text that should be displayed doesn't excatly match one of the properties on my class and still needs to be manipulated.  Is there any way of doing this through the SelectList constructor?  I realise I could do this by creating a struct or class to use as the IEnumerable input for the Select list but I'd prefer not if I don't need to.</p>
  
  <p>My Controller code is currently:</p>
  
  <pre><code>        var members = MemberService.GetAll();
          this.ViewData["Members"] = new SelectList(members, "Id", "Name");
  </code></pre>
  
  <p>My View code is currently:</p>
  
  <pre><code>        &lt;%= Html.DropDownList("Members") %&gt;
  </code></pre>
  
  <p>Instead of "Surname" as my display field I'd like to be able to preformat the field by combining (and formatting) two properties.</p>