Sunday 27 January 2013

how to validate money in c#.net

  private void textBox1_Leave(object sender, EventArgs e)
        {
            textBox1.Text = decimal.Parse(textBox1.Text).ToString("0.00");
        }

No comments:

Post a Comment