title: Setting Date format in dropdown list
body: <p>I am retrieving date values from dataset(_dsst) and populating them in dropdown list(drpStartYear).              </p>
  
  <p>Since I am storing date as datetime datatype, I am getting date values as <strong>mm-dd-yyyy 00:00:00</strong> , where <strong>00:00:00</strong> is the time. But I need to get date only in <strong>dd-mm-yyyy</strong> format in dropdown list. I tried using <strong>datatextformatstring</strong>, but it is not working. </p>
  
  <p>Below is the code:</p>
  
  <pre><code> drpStartYear.DataSource = _dstt.Tables["tbSettings"].DefaultView;    
   drpStartYear.DataValueField = "StartDate";    
  
   drpStartYear.DataTextFormatString = "{0:d}";   
   drpStartYear.DataBind();    
  </code></pre>