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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1436
  • 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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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