Created
March 21, 2013 14:48
-
-
Save ryankinal/5213614 to your computer and use it in GitHub Desktop.
Dammit, Brandon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub UserNameValidation(ByVal source As Object, ByVal args As ServerValidateEventArgs) | |
Try | |
Dim intUserID As Integer = common.getStudentIDFromUserName(Me.userNameTextBox.Text) | |
If intUserID <> 0 Then | |
args.IsValid = False | |
Else | |
args.IsValid = True | |
End If | |
Catch ex As Exception | |
'Brandon says leave this blank ... for now. | |
End Try | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment