protected void btnSave1_Click(object sender, EventArgs e)
        {
            string pan             = string.Empty;
            string transactionType = string.Empty;
            string productCode     = string.Empty;

            bool blResult1 = false;
            int  Id        = 0;
            int  tableNo   = 0;

            uploadCommonBo = new UploadCommonBo();
            GridFooterItem footerRow = (GridFooterItem)gvSIPReject.MasterTableView.GetItems(GridItemType.Footer)[0];

            foreach (GridDataItem dr in gvSIPReject.Items)
            {
                if (((TextBox)footerRow.FindControl("txtPANNOFooter")).Text.Trim() == "")
                {
                    pan = ((TextBox)dr.FindControl("txtPANNO")).Text;
                }
                else
                {
                    pan = ((TextBox)footerRow.FindControl("txtPANNOFooter")).Text;
                }
                if (((TextBox)footerRow.FindControl("txtAUTTRNTYPFooter")).Text.Trim() == "")
                {
                    transactionType = ((TextBox)dr.FindControl("txtAUTTRNTYP")).Text;
                }
                else
                {
                    transactionType = ((TextBox)footerRow.FindControl("txtAUTTRNTYPFooter")).Text;
                }
                if (((TextBox)footerRow.FindControl("txtProductFooter")).Text.Trim() == "")
                {
                    productCode = ((TextBox)dr.FindControl("txtProduct")).Text;
                }
                else
                {
                    productCode = ((TextBox)footerRow.FindControl("txtProductFooter")).Text;
                }

                CheckBox checkBox = (CheckBox)dr.FindControl("chkId");
                if (checkBox.Checked == true)
                {
                    int          selectedRow = 0;
                    GridDataItem gdi;
                    gdi         = (GridDataItem)checkBox.NamingContainer;
                    selectedRow = gdi.ItemIndex + 1;
                    Id          = int.Parse((gvSIPReject.MasterTableView.DataKeyValues[selectedRow - 1]["InputId"].ToString()));
                    tableNo     = int.Parse((gvSIPReject.MasterTableView.DataKeyValues[selectedRow - 1]["TableNo"].ToString()));
                    blResult1   = uploadCommonBo.UpdateSIPRequestRejects(pan, Id, tableNo, transactionType, productCode);
                }
            }

            if (Request.QueryString["ReqId"] != null)
            {
                DataTable dtRequests          = new DataTable();
                DataSet   dtProcessLogDetails = new DataSet();

                reqId = Int32.Parse(Request.QueryString["ReqId"].ToString());
                GetProfileIncreamentRejection(reqId);
                dtRequests = (DataTable)Cache["RequestReject" + userVo.UserId.ToString()];
                gvSIPReject.Rebind();
            }
        }