16,020,974 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by marcelle ngounou (Top 5 by date)
marcelle ngounou
23-Aug-12 10:26am
View
hi Vani,
finally i have made it. Thanks, i was forced to do it this way:
private void txtMtCategorie_TextChanged(object sender, EventArgs e)
{
if (txtMtCategorie.Text != "")
{
int Mavaleur = int.Parse(txtMtCategorie.Text.ToString().Trim(), System.Globalization.NumberStyles.AllowThousands);
txtMtCategorie.Text = Mavaleur.ToString("#,##0", new System.Globalization.CultureInfo("fr-FR"));
}
}
It works! is that a good way to do it?
thanks
marcelle ngounou
23-Aug-12 9:55am
View
I havetry the links on stackoverflow.com, it doesn't work.
when i write "txtMtCategorie.Text.ToString("#,##0", new System.Globalization.CultureInfo("fr-FR"));"
i have this error "Error 1 No overload for method 'ToString' takes 2 arguments "
....
marcelle ngounou
23-Aug-12 9:40am
View
Hi, Vani
Thanks for your help, but it does not solve the problem. Because, the MaskedEditTexbox, limit the number of digit, thus i don't want it to be limited... and if your mask is "000 000", if you write "500 00_" is very different from "50 000" that should be seen.
marcelle ngounou
23-Aug-12 9:29am
View
is just mean that if the user types 10000, we should have 10 000. if he types 1 we should have 1.
thanks
marcelle ngounou
23-Aug-12 9:27am
View
Is true but,
when you use the crystal reportviewer there is no functions, to let you know that the user has chosen to print...