how to invoke the e argument in Validating Sub ?
well I have a text box that used ErrorProvider in
Validating Event I want to cancel the validating
by invoke the sub and send false to the( e ) argument
But how ?
Here is the code
If IsNumeric(txtName.Text) Then
ErrorProvider1.SetError(txtName, "Please Enter a string Value")
e.Cancel = True
Else
ErrorProvider1.SetError(txtName, "")
End If
well I have a text box that used ErrorProvider in
Validating Event I want to cancel the validating
by invoke the sub and send false to the( e ) argument
But how ?
Here is the code
If IsNumeric(txtName.Text) Then
ErrorProvider1.SetError(txtName, "Please Enter a string Value")
e.Cancel = True
Else
ErrorProvider1.SetError(txtName, "")
End If