error message in login page
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
i have a login page wid login check up loop as if (userType.Equals("Administrator")) { Response.Redirect("successPage.aspx"); } else if (!userType.Equals("Administrator")) { errMessage.Text = " Login Incorrect!! " ; } login works well..but if i click wrong details.. it displays nothing.. i want to display text above... how to do this ??
-
i have a login page wid login check up loop as if (userType.Equals("Administrator")) { Response.Redirect("successPage.aspx"); } else if (!userType.Equals("Administrator")) { errMessage.Text = " Login Incorrect!! " ; } login works well..but if i click wrong details.. it displays nothing.. i want to display text above... how to do this ??