Example #1
0
        protected void llenarTblVVnd()
        {
            lblVvd.Text = dic.viviendas;
            gdvVvd.Columns[0].HeaderText  = dic.año;
            gdvVvd.Columns[1].HeaderText  = dic.aplica;
            gdvVvd.Columns[2].HeaderText  = dic.tipo;
            gdvVvd.Columns[3].HeaderText  = dic.diagnostico;
            gdvVvd.Columns[4].HeaderText  = dic.comentario;
            gdvVvd.Columns[5].HeaderText  = dic.estado;
            gdvVvd.Columns[6].HeaderText  = dic.notas;
            gdvVvd.Columns[7].HeaderText  = dic.solicitud;
            gdvVvd.Columns[8].HeaderText  = dic.horasRequeridas;
            gdvVvd.Columns[9].HeaderText  = dic.exoneracion;
            gdvVvd.Columns[10].HeaderText = dic.horasTrabajadas;
            DataTable dtVvnd = bdTS.anlVvnObtenerAnalisis(L, S, familia);

            gdvVvd.DataSource = dtVvnd;
            gdvVvd.DataBind();
            verificarGvdVacio(dtVvnd, gdvVvd, lblVVnNoTiene);
        }