using iTextSharp.text.xml; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Newdelhibarassocia.idcardadmin { public partial class Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { if (yourUsername.Value == "idca" && yourPassword.Value == "card@ndba1") { Session["idcard"] = "icadd"; Response.Redirect("Dashboard.aspx"); } else { RegisterStartupScript("12", ""); } } } }