Formatting percentages in ASP.NET C# databinding using Eval
<p>There is a col in a database that is declare as decimal 4 precision 3. I need to multiply this number by 100 (I am doing that in the stored proceure query) and display it as a decimal with only significant zeros afte the decimal point. If the resulting value is less than 1%, I supose it should be displayed with a 0 <em>before</em> the decimal. The display should include a % mark. For example:</p>

<pre><code> 100 %
 99.1 %
 0.1 %
 56 %
 0 %
</code></pre>

<p>The web page is using data binding:</p>

<pre><code> &lt;asp:Label ID="lblTMLY_POL_HLDER_NOTC_PCT" runat="server" Text='&lt;%# Eval("DECIMAL_COL_PREC_4_SCALE_3") %&gt;'&gt;&lt;/asp:Label&gt;
</code></pre>

<p>I suppose I'd probably have an easier time handling this in the Data Bound Item even and using string formatting funtions there. Ideally, I'd like to know what format string in teh markup to use and how one would handle this in the code behind.</p>

<pre><code>  &lt;asp:Label ID="lblTMLY_POL_HLDER_NOTC_PCT" runat="server" Text='&lt;%# Eval("DECIMAL_COL_PREC_4_SCALE_3","{00:??????}") %&gt;'&gt;&lt;/asp:Label&gt;
</code></pre>
