Solved

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

Posted on 2007-12-05
3
4,222 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 10

Expert Comment

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

Accepted Solution

by:
Alpesh Patel earned 500 total points
ID: 20414724
Sorry syntex error

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

Author Closing Comment

by:jumpstart0321
ID: 31412952
Thx :)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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 …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

615 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