Improve company productivity with a Business Account.Sign Up

x
?
Solved

formatting a label text for thousands separator

Posted on 2010-09-22
2
Medium Priority
?
1,487 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
If you are looking for an automated solution for backup single or multiple Office 365 user mailboxes to Outlook data file, then you can use Kernel Office 365 Backup & Restore tool. Go through the video to check out the steps to backup single or mult…
Watch the video to know the process of migration of Exchange or Office 365 mailboxes in absence of MS Outlook. It is an eminent tool which can easily migrate Public, Archive user mailboxes from one another Exchange server and Office 365. Kernel Migr…

606 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