title: GridView how to apply string format to item
body: <p>I have the following code in the columns section of my GridView:</p>
  
  <pre><code>&lt;Columns&gt;
        &lt;asp:boundfield datafield="Nominal-Anual" HeaderText="Nominal anual"/&gt;
        &lt;asp:boundfield datafield="Anual" headertext="Anual" sortexpression="Anual" /&gt;
        &lt;asp:boundfield datafield="Semestral" headertext="Semestral" DataFormatString="{0:0.00}" /&gt;
        &lt;asp:BoundField DataField="Trimestral" HeaderText="Semestral" HtmlEncode="false" DataFormatString="{0:00.0000}" /&gt;
        &lt;asp:BoundField DataField="Mensual" HeaderText="Mensual" /&gt;
  &lt;/Columns&gt;
  </code></pre>
  
  <p>This gridview is feed from a datatable wich all datacolumns are of string type.</p>
  
  <p>My problem is that the DataFormatString is not being applied and i dont know why.</p>
  
  <p>Im getting a lots of decimals in all columns included the ones with dataformatstrings.</p>
  
  <p>What could be happening?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Best Regards.</p>
  
  <p>Jose</p>