Hi,
I am poulating a textbox with a number from a db, based on
the current cultrue:
textBox1.Text =
String.Format(Thread.CurrentThread.CurrentCulture, "{0:###,###,###}",number);
Now, the number has the value: 9999, and it is shown as
9,999.
When I try to parse it:
int y = int.Parse(textBox1.Text,Thread.CurrentThread.Curre ntCulture);
It gives me the "Input string was not in a correct format".
Any ideas?
Thanks in advance.