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.4k
Formatting no format to currency format in templt field of G
Dec 19 2016 6:42 AM
Hi,
i need to format the number format to currency format of my gridview. Columns are template field. I have tried many methods like "{0:c}", etc. Here is my code.
<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" />
please help me to solve this.
Reply
Answers (
3
)
Asp chart refresh
what is Difference b/w asp.net ,asp.net core and asp.net mvc