TextBox1.Text = string.Format("{0:0,0}", double.Parse(TextBox1.Text));
protected void TextBox1_TextChanged(object sender, EventArgs e) { RangeValidator1.Validate(); TextBox1.Text = string.Format("{0:0,0}", Int32.Parse(TextBox1.Text)); TextBox2.Focus(); }
Convert.ToDecimal(TextBox.Text).ToString(CultureInfo.GetCultureInfo("en-US"))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)