• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1517
  • Last Modified:

formatting a label text for thousands separator

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
brillox
Asked:
brillox
1 Solution
 
DhaestCommented:
Label_FilesizeData.Text = String.Format("{0:###,###}", Finfo.Length)
0
 
brilloxAuthor Commented:
I am a dummy and you got 500 points
:-)
Thanks for the speedy reply
0
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

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now