protected void btnLogin_Click(object sender, EventArgs e) { if (validateUser() == true) Response.Redirect("~/Default.aspx"); }
private bool validateUser() { if() { Session["User"] = objU.Username; return true; } else return false; }
protected void btnLogin_Click(object sender, EventArgs e) { if (validateUser() == true) Response.Redirect("Default.aspx"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)