protected void btnEditSelectedWerp_Click(object sender, EventArgs e)
        {
            string newPan    = string.Empty;
            string newBroker = string.Empty;
            bool   blResult  = false;

            rejectedRecordsBo = new RejectedRecordsBo();

            // Gets the footer row directly Cool right!
            GridViewRow footerRow = gvWERPProfileReject.FooterRow;

            string pan    = ((TextBox)footerRow.FindControl("txtPanMultiple")).Text;
            string broker = ((TextBox)footerRow.FindControl("txtBrokerMultiple")).Text;

            foreach (GridViewRow dr in gvWERPProfileReject.Rows)
            {
                CheckBox checkBox = (CheckBox)dr.FindControl("chkBxWerp");
                if (checkBox.Checked)
                {
                    if (pan != "" || broker != "")
                    {
                        newPan    = pan;
                        newBroker = broker;
                    }
                    else
                    {
                        newPan    = ((TextBox)dr.FindControl("txtPanWerp")).Text;
                        newBroker = ((TextBox)dr.FindControl("txtBroker")).Text;
                    }

                    int WERPStagingId = Convert.ToInt32(gvWERPProfileReject.DataKeys[dr.RowIndex].Value);
                    blResult = rejectedRecordsBo.UpdateWERPProfileStaging(WERPStagingId, newPan, newBroker);
                }
            }

            if (blResult)
            {
                // Success Message
            }
            else
            {
                // Failure Message
            }

            // BindGrid
            if (Request.QueryString["processId"] != null)
            {
                ProcessId = Int32.Parse(Request.QueryString["processId"].ToString());
            }
            if (Request.QueryString["filetypeid"] != null)
            {
                filetypeId = Int32.Parse(Request.QueryString["filetypeid"].ToString());
            }
            BindWerpProfileGrid(ProcessId);
        }