I have a table column \"Amount\" of type money. When I am retrieving its value through a store procedure, it returns the value upto 4 decimal places(because of type money).
In Leave Event write this code
Double x; Double.TryParse(txtLocl.Text, out x); txtLocl.Text = x.ToString("0.00");
After leaving it allowed only two decimal places