Peter Li
0
Q:

how to validate data

// validate base price textbox valuetry {double number = double.Parse(txtBasePrice.Text);//code here to handle if value was a number but less than 0...}catch (FormatException) {MessageBox.Show("Your message to the user.");//code here to focus to textbox and select all text...}// validate trade-in textbox value
0

New to Communities?

Join the community