public void GRILLARUBROS()
        {
            var BL = new tb_plla_tab0100BL();
            var BE = new tb_plla_tab0100();
            BE.codigo = cboTipoPlanilla.SelectedValue.ToString().Trim();
            BE.norden = 2;
            _dtDetalle = BL.QuincenalRubros_CONSULTA(VariablesPublicas.EmpresaID, BE).Tables[0];

            _dtDetalle.Columns["TIPO_PLANILLA"].AllowDBNull = true;
            _dtDetalle.Columns["COD_RUBRO"].AllowDBNull = true;
            _dtDetalle.Columns["DES_RUBRO"].AllowDBNull = true;
            _dtDetalle.Columns["PORCENTAJE"].AllowDBNull = true;

            _dtDetalle.Columns["TIPO_PLANILLA"].ReadOnly = false;
            _dtDetalle.Columns["COD_RUBRO"].ReadOnly = false;
            _dtDetalle.Columns["DES_RUBRO"].ReadOnly = false;
            _dtDetalle.Columns["PORCENTAJE"].ReadOnly = false;

            dgRubroQuincenal.DataSource = _dtDetalle;

            VariablesPublicas.PintaEncabezados(dgRubroQuincenal);
        }