The programmatic verification of username and password can be done by the below code by the Login1_Authenticate method
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
if((Login1.UserName=='User')&&(Login1.Password=='Password'))
{
Label1.Text='LogIn Successful';
}
else
{
Label1.Text='LogIn Failed - Try Again';
}
}
Share with