protected void Reject_Analysis_Click(object sender, EventArgs e) { Boolean chk1, chk2, chk3, chk4, chk5; if (CheckBox1.Checked) { chk1 = true; } else { chk1 = false; } if (CheckBox2.Checked) { chk2 = true; } else { chk2 = false; } if (CheckBox3.Checked) { chk3 = true; } else { chk3 = false; } if (CheckBox4.Checked) { chk4 = true; } else { chk4 = false; } if (CheckBox5.Checked) { chk5 = true; } else { chk5 = false; } input1.ReassignChange(Convert.ToInt16(Session["User_ID"]), Convert.ToInt16(Session["id"]), 6, "QA-BA"); input1.BAChange_Reassign(Convert.ToInt16(Session["id"])); input1.AddQADetails(Convert.ToInt16(Session["id"]), Convert.ToInt16(Session["User_ID"]), chk1, chk2, chk3, chk4, chk5); Response.Redirect("~/QA_Pending_QA_1.aspx"); }