protected void btnSaveDuplicados_Click(object sender, EventArgs e)
        {
            List <BEHotel> lstBE  = new List <BEHotel>();
            List <BEHotel> lstBE2 = new List <BEHotel>();
            BEHotel        BE;
            IHotels        IService = new IHotels();

            BE             = new BEHotel();
            BE.correlativo = gvHotels.SelectedRow.Cells[2].Text;
            BE.idHospedaje = gvHotels.SelectedRow.Cells[0].Text;
            lstBE          = IService.IGetporCorrelativo(BE);
            CheckBox chk;

            foreach (GridViewRow rowItem in gvDuplicarRegistros.Rows)
            {
                BE             = new BEHotel();
                BE.idHospedaje = rowItem.Cells[1].Text;
                BE.serie       = HttpUtility.HtmlDecode(rowItem.Cells[2].Text);
                //BE.correlativo = this.lblNewCorrelativo.Text;//lblNewCorrelativo_Usar_Duplicar.Text;
                BE.correlativo       = gvHotels.SelectedRow.Cells[2].Text;
                BE.ruc               = HttpUtility.HtmlDecode(rowItem.Cells[4].Text);
                BE.agencia           = HttpUtility.HtmlDecode(rowItem.Cells[5].Text);
                BE.pasaporte         = HttpUtility.HtmlDecode(rowItem.Cells[6].Text);
                BE.apellidoPaterno   = HttpUtility.HtmlDecode(rowItem.Cells[7].Text);
                BE.paisPasaporte     = HttpUtility.HtmlDecode(rowItem.Cells[8].Text);
                BE.nombre            = HttpUtility.HtmlDecode(rowItem.Cells[9].Text);
                BE.fechaIngresoHotel = rowItem.Cells[10].Text;
                BE.fechaSalidaHotel  = rowItem.Cells[11].Text;
                BE.nroFicha          = HttpUtility.HtmlDecode(rowItem.Cells[12].Text);
                BE.unidad            = HttpUtility.HtmlDecode(rowItem.Cells[13].Text);
                BE.ingresoPais       = HttpUtility.HtmlDecode(rowItem.Cells[14].Text);
                BE.fechaDocumento    = rowItem.Cells[15].Text;
                BE.codLocal          = rowItem.Cells[16].Text;
                BE.codPeriodo        = ddlPeriodos.SelectedValue;
                BE.segundoNombre     = HttpUtility.HtmlDecode(rowItem.Cells[18].Text);
                BE.apellidoMaterno   = HttpUtility.HtmlDecode(rowItem.Cells[19].Text);
                BE.paisProcedencia   = HttpUtility.HtmlDecode(rowItem.Cells[20].Text);
                BE.flagValidacion    = "1";//rowItem.Cells[21].Text;
                lstBE.Add(BE);
                lstBE2.Add(BE);
            }


            gvViewRegistros.DataSource = lstBE;
            gvViewRegistros.DataBind();
            if (lstBE.Count > 0)
            {
                IService.IHotelsDuplicateINS(lstBE2);
            }

            //lstBE = new List<BEHotel>();
            //gvDuplicarRegistros.DataSource = lstBE;
            //gvDuplicarRegistros.DataBind();

            ClientScript.RegisterStartupScript(typeof(Page), "showPopupDuplicar", "showPopup('dvDuplicar',793);", true);
        }