First of all thank you for the example on how to create the login page. I am also new at this and I have been trying out the login page using a SQL db. I am getting an error on my code for the button click event.
If Page.IsValid Then
If dbconnection(FirstName.Text, txtLastName.Text) Then
lblMessage.Text = "Invalid Name!"
This is the error:
Value of type string cannot be converted to "Systems.EventArgs"
Can someone please help :o