Posted on: 6/27/2014 9:51:20 AM | Views : 346

Hello,
In my DB, I store a column with Decimal (3,2) type. 
Now I want to display a percentage value into a label in my DetailsView (for example : value is 0.25 -> 25%)

This is my code :
<asp:Label ID="Label1" runat="server" ForeColor="Black" Font-Bold="true" Text='<%# Bind("AvancementQuantitatifT1") %>'></asp:Label> The column "AvancementQuantitatifT1" is a Decimal column and i need to convert it to percentage to display in this label.

Thank you

Go to the complete details ...