TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
shahnid k
NA
61
15.5k
currency in gridview
Dec 8 2016 2:15 AM
I need to change my format of numbers in gridview to currency format. i have written the html codes as
<asp:TemplateField HeaderText="Dec" SortExpression="December">
<ItemTemplate>
<asp:Label ID="Label12" runat="server"
Text='<%# Bind("Dec", "{0:#,0}") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:Label ID="Label12" runat="server"
Text='<%# Eval("Dec", "{0:#,0}") %>'></asp:Label>
</EditItemTemplate>
<HeaderStyle CssClass="headergrid11" />
</asp:TemplateField>
please help to resolve this.
Reply
Answers (
2
)
how to get gridview label value in javascript?
passing arguments to webmethod from ajax