title: Format DropDownList.TextValue
body: <p>My stored procedure is like this</p>
  
  <pre><code>SELECT Id, StudentName
  FROM xyz
  </code></pre>
  
  <p>I have a drop down list in asp.net, which I am loading as :</p>
  
  <pre><code>ddlA.DataSource = // Some source
  ddlA.DataTextField = "Id" + " -" + "StudentName";
  ddlA.DataValueField = "Id";
  ddlA.DataBind();
  ddlA.Items.Insert(0, new ListItem(" Select one", "0"));
  </code></pre>
  
  <p>But at the <code>Databind()</code> statement, I am getting this error:</p>
  
  <blockquote>
    <p>System.Web.HttpException: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'Id-StudentName'.</p>
  </blockquote>
  
  <p>In text part of the dropdown list, I want to display the concatenated value of <code>Id - StudentName</code>.</p>
  
  <p>How can I do it?</p>