title: Listbox formatting using DataTextField property
body: <p>I have a list box in my aspx page:</p>
  
  <pre><code>&lt;asp:ListBox ID="lstTreatmentProvider" runat="server" SelectionMode="Multiple" Width="175px"
                                          Height="81" CssClass="SingleColumnlist" DataSourceID="dtsTreatmentProviders" DataTextField="FirstName" DataValueField="ServiceId"&gt;&lt;/asp:ListBox&gt;
  </code></pre>
  
  <p>I am using this datasource for listbox:</p>
  
  <pre><code>&lt;asp:ObjectDataSource ID="dtsTreatmentProviders" runat="server" SelectMethod="GetAllTreatmentProviders"
                          TypeName="Pc.PrecisionCare2.BLL.Administration.TreatmentProvider.TreatmentProviderBO"
                          SortParameterName="sortExpression"&gt;&lt;/asp:ObjectDataSource&gt;
  </code></pre>
  
  <p>As you can see, I am using in list box, <code>DataTextField="FirstName"</code> because my datasource returns some data of treatment provider including first name, last name etc.</p>
  
  <p>I want to have my list box as containing <code>First Name + Last Name</code> Can I do this somehow using DataTextField property?</p>
  
  <p>PS: I do not want to do this in cs file. I want something in aspx.</p>
  
  <p>Thanks in advance.</p>