Solved

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

Posted on 2007-12-05
3
4,214 Views
Last Modified: 2013-11-26
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 :)
0
Comment
Question by:jumpstart0321
  • 2
3 Comments
 
LVL 10

Expert Comment

by:Alpesh Patel
Comment Utility
MyString.ToString.Format("{0:###,###,###} , YourNO here in the form of String"
0
 
LVL 10

Accepted Solution

by:
Alpesh Patel earned 500 total points
Comment Utility
Sorry syntex error

MyString.ToString.Format("{0:###,###,###}" ,Number in the form of string)
0
 

Author Closing Comment

by:jumpstart0321
Comment Utility
Thx :)
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

743 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

15 Experts available now in Live!

Get 1:1 Help Now