Arg81
Well-known member
I've set my textboxes so they accept numeric values only.
I want to make sure that the user can't enter a value above 100 - is the best way to check this to do something along the lines of;
Thanks,
I want to make sure that the user can't enter a value above 100 - is the best way to check this to do something along the lines of;
VB.NET:
If me.textbox1.text >100 Then
MessageBox.Show("Please enter a value less than or equal to 100")
End If
Thanks,