.ToString.Format(?????) ASP.net 2.0

Here's an easy question. I need to format a string from MyString.ToString.Format(FORMATTYPEHERE)
I would like to take a number such as
123123123123
to:
123,123,123,123
Anybody know what to put into "FORMATTYPEHERE" ???
Only whole number Integers will be used.
Thanks, Chris :)
jumpstart0321Asked:
Who is Participating?
 
Alpesh PatelConnect With a Mentor Commented:
Sorry syntex error

MyString.ToString.Format("{0:###,###,###}" ,Number in the form of string)
0
 
Alpesh PatelCommented:
MyString.ToString.Format("{0:###,###,###} , YourNO here in the form of String"
0
 
jumpstart0321Author Commented:
Thx :)
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.

All Courses

From novice to tech pro — start learning today.