Exemplo n.º 1
0
 protected void Inicio_Click(object sender, EventArgs e)
 {
     if (UsuariosBLL.Authenticate(UsuarioText.Text, ContrasenaText.Text))
     {
         FormsAuthentication.RedirectFromLoginPage(UsuarioText.Text, true);
     }
     else
     {
         MostrarMensaje(TiposMensaje.Error, "");
     }
 }