protected void lnkAddToInterview_Click(object sender, EventArgs e) { int IQID = UDFLib.ConvertToInteger(Request.QueryString["IQID"].ToString()); int RankID = UDFLib.ConvertToInteger(Request.QueryString["RankID"].ToString()); foreach (GridViewRow row in GridView_UnAssignedCriteria.Rows) { CheckBox chkSelect = (CheckBox)row.FindControl("chkSelect"); int QID = UDFLib.ConvertToInteger(GridView_UnAssignedCriteria.DataKeys[row.RowIndex].Value.ToString()); if (chkSelect != null) { if (chkSelect.Checked == true) { BLL_Crew_Interview.Add_QuestionToInterview(QID, RankID, IQID, GetSessionUserID()); } } } Bind_AssignedCriteria(); Bind_UnAssignedCriteria(); }