eulogy6
Programmer
- Apr 30, 2004
- 26
Hi to all,
I have 2 tables checking for correct username & password, something like that:
Private Sub btnlogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnlogin.Click
Dim username As String
Dim password As String
username = Me.txtusername.Text
password = Me.txtpassword.Text
If (username <> "" And password <> "") Then
' how can I check both tables Users(UserID,Username,Password) & UsersX(UserID,Username,Password) ?
Else
lbldetails.Text = "Invalid password"
End If
End Sub
Thanx in advanced
I have 2 tables checking for correct username & password, something like that:
Private Sub btnlogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnlogin.Click
Dim username As String
Dim password As String
username = Me.txtusername.Text
password = Me.txtpassword.Text
If (username <> "" And password <> "") Then
' how can I check both tables Users(UserID,Username,Password) & UsersX(UserID,Username,Password) ?
Else
lbldetails.Text = "Invalid password"
End If
End Sub
Thanx in advanced