Solved

formatting a label text for thousands separator

Posted on 2010-09-22
2
1,294 Views
Last Modified: 2012-05-10
I am trying to format the file length displayed into a label with this line

  Label_FilesizeData.Text = String.Format("{0:###,###}", Finfo.Length.ToString)

no joy...

anyone can help ?
0
Comment
Question by:brillox
2 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 33733039
Label_FilesizeData.Text = String.Format("{0:###,###}", Finfo.Length)
0
 

Author Closing Comment

by:brillox
ID: 33733111
I am a dummy and you got 500 points
:-)
Thanks for the speedy reply
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Allow space in this pattern 2 48
Vb.net dynamic formulas in runtime 11 62
Syntax error 9 45
Two different visual studio versions 3 23
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now