Can some one tell me why I get this problem when debugging!
...:: Error ::..
txtPassword.Text = Value of 'String' cannot be converted to System.EventArgs
Thanks
...::CODE::..
Private Sub cmdSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSubmit.Click
If Page.IsValid Then
'Connect to Database for User Validation
If DBConnection(txtUserName.Text, txtPassword.Text) Then
FormsAuthentication.RedirectFromLoginPage(txtUserN ame.Text, False) ' ||||| default.aspx Page!
Else
' Credentials are Invalid
lblMessage.Text = "Invalid Login!"
End If
End If
End Sub