protected void Login1_LoginError(object sender, EventArgs e) { anm_Utility ut = new anm_Utility(); Login1.FailureText = ut.CheckLogin(Login1.UserName); }