Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

format contents of boundcolumn

Posted on 2005-04-17
1
Medium Priority
?
303 Views
Last Modified: 2010-04-07
Is there a way to get whatever I put in a boundcolumn of a datagrid to automatically show up with a $ before it ???
0
Comment
Question by:ARACK04
1 Comment
 
LVL 20

Accepted Solution

by:
ihenry earned 1400 total points
ID: 13800327
Try this formatting

<asp:BoundColumn DataField="UnitPrice" HeaderText="Price" DataFormatString="{0:c}"></asp:BoundColumn>
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question