Add rupee symbol to gridview column

I add HeaderText ="Column name".

I want to be HeaderText ="Column name [rupee symbol here]"

I can make a short rupee pen ... by setting the rupee symbol in my system.

Will it be available to all my clients if they have not installed the rupee symbol in their system?

Or I can make the image column ... by taking the print screen or the current column and doing some mspaint work to add the rupee character and add this corrected image as GridViewcolumn

is there any solution for this?

+3
source share
3 answers

Rupee ( ​​ Unicode 6.0), , - .

, , .

defenit; y, , ( ) .

TemplateField ,

<asp:GridView ID="list" runst="server">
    <columns>
        <TemplateField>
            <HeaderTemplate>
                <asp:label ID="Name" runat="Server" Text="Price" />
                <asp:Image ID="rupee" runat="server" ImageURL="Rupee.gif" />
            </HeaderTemplate>
            <ItemTemplate>
                <asp:label ID="price" runat="Server" Text="<%# Eval("Price") %>" />
            </ItemTemplate>
        <TemplateField>
    </columns>
</asp:GridView>
+3

() - .

+1

css

<link rel="stylesheet" type="text/css" href="http://cdn.webrupee.com/font">

<span class="WebRupee">Rs</span>

.

+1

All Articles