How do i make a label display if the textbox value that was entered is invalid?
This is my code so far and when i press the button to find the invaild source the label is suppose to appear but nothing is happening when i click the button.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Enflbl.Hide()
End Sub
Private Sub cmdFind_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdFind.Click
'Finds the employee associated with the employee ID entered by the user
FindAcct()
If txtUpdateID.Text = False Then
Enflbl.Show()
End If
End Sub