Posted on: 9/13/2015 9:55:18 AM | Views : 938

Hi Members,
I have a gridview, in which i am binding the price values.
My requirement is to display either "Indian Rupee symbol" or "$", based on some condition. For this I couldn't find the right solution.
Please put me on the right direction,
<asp:TemplateField HeaderText="" ItemStyle-CssClass="box-prod-list" ItemStyle-Width="30%"> <ItemTemplate> <asp:Label ID="lbl_CurrencySymbol" runat="server"></asp:Label> <asp:Label ID="lbl_Price" runat="server" Text='<%#Eval("[Price]") %>' ></asp:Label> </ItemTemplate> </asp:TemplateField>  

 

Go to the complete details ...