| | |
Data String types
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2007
Posts: 66
Reputation:
Solved Threads: 12
Hi There
Pls. try this
Mark as fixed if it helps you!!!
Pls. try this
ASP.NET Syntax (Toggle Plain Text)
Text='<%# Bind ("price", "$ {0:f2)") %>'>
Mark as fixed if it helps you!!!
•
•
Join Date: Sep 2009
Posts: 1
Reputation:
Solved Threads: 0
•
•
•
•
I think this is more of a SQL query but how do I change my Grid Viewso that it displays a currency in the proper format of $ with 2 decimal places only? As it stands it is only like 194.9500 format.
Cheers again.
Use this link
http://4guysfromrolla.com/aspfaqs/ShowFAQ.asp?FAQID=181
or
<asp:BoundField DataField="Price" HeaderText="Item Price" ReadOnly="True" DataFormatString="{0:c}" HtmlEncode="False">
<HeaderStyle HorizontalAlign="Center" />
</asp:BoundField>
Thanks
Sonali
![]() |
Similar Threads
- data string to array (C#)
- How to retrieve binary data from string (Java)
- Retrieve data using string from one form to another (VB.NET)
- trying to use substr to extract data from a string of bytes, help would be great (C++)
- How do I pass data in string from a form to another? (Visual Basic 4 / 5 / 6)
Other Threads in the ASP.NET Forum
- Previous Thread: Ignore Return Key press
- Next Thread: i need help with asp
| Thread Tools | Search this Thread |
.net 3.5 ajax alltypeofvideos appliances asp asp.net bc30451 beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions control countryselector dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iis javascript list listbox login microsoft mouse mssql nameisnotdeclared news novell numerical opera panelmasterpagebuttoncontrols problem radio redirect registration relationaldatabases reportemail save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio vs2008 web webapplications webdevelopemnt webdevelopment webprogramming webservice wizard xsl youareanotmemberofthedebuggerusers






