/ Published in: C#

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
protected void AuthenticateUser(object source, ServerValidateEventArgs args) { args.IsValid = auth.AuthenticateUser(txtUsername.Text, txtPassword.Text); if (args.IsValid) Response.Redirect("~/Default.aspx"); }
Comments
