i want to set validation in text boxes in VB
.NET. For example, i have a text box that can take a maximum of 3 digits. before you insert a record by clicking on a button, it validates all text boxes. how do i do that?
code that i wrote:
If (Not IsNumeric(txtSubAreaNo.Text)) Then
lblComment.Text = "Please enter a numeric SubArea Number"
this text box should only allow 3 digits maximum to be entered.
Thanks in advance