protected void btnVerify_Click(object sender, EventArgs e) { string fnm, lnm, add, id1, id2, pwd1, pwd2; fnm = txtfnm.Text.Trim(); lnm = txtlnm.Text.Trim(); add = txtadd.Text.Trim(); id1 = txtLoginId.Text.Trim(); pwd1 = txtPwd.Text.Trim(); id2 = txtLoginId2.Text.Trim(); pwd2 = txtPwd2.Text.Trim(); string name = this.Session["unm"].ToString(); bool b = DBComponent.update(name, fnm, lnm, add, id1, pwd1, id2, pwd2); Response.Redirect("Home.aspx"); }