void VerInformacionAseso(string tipo)
        {
            int para = 0;

            switch (tipo)
            {
            case  "asesor":
                para = 2;
                break;

            case  "lider":
                para = 1;
                break;
            }

            var querystringSeguro = CreateQueryStringUrl();

            querystringSeguro["proyectoAsesor"]        = Codproyecto.ToString();
            querystringSeguro["codconvocatoriaAsesor"] = CodConvocatoria.ToString();
            querystringSeguro["tipoasesor"]            = para.ToString();
            Redirect(null, "InfoAsesor.aspx?a=" + HttpUtility.UrlEncode(querystringSeguro.ToString()), "_blank", "menubar=0,scrollbars=1,width=510,height=200,top=50");
        }
        void ObtenerInformacionGeneral()
        {
            try
            {
                #region parameters

                consultas.Parameters = new[]
                {
                    new SqlParameter
                    {
                        ParameterName = "@codproyecto", Value = Codproyecto
                    },
                    new SqlParameter
                    {
                        ParameterName = "@codconvocatoria", Value = CodConvocatoria
                    },
                    new SqlParameter
                    {
                        ParameterName = "@codusuario", Value = usuario.CodGrupo
                    }
                };

                #endregion

                var dtsInformacion = consultas.ObtenerDataSet("MD_ObtenerInformacionProyectoAcreditacion");

                if (dtsInformacion.Tables.Count != 0)
                {
                    if (dtsInformacion.Tables[0].Rows.Count != 0)
                    {
                        Observacionfinal = dtsInformacion.Tables[0].Rows[0]["OBSERVACIONFINAL"].ToString();
                    }
                    else
                    {
                        Observacionfinal = string.Empty;
                    }
                    if (dtsInformacion.Tables[1].Rows.Count != 0)
                    {
                        CodEstado = Convert.ToInt32(dtsInformacion.Tables[1].Rows[0]["CODESTADO"].ToString());
                    }
                    else
                    {
                        CodEstado = 0;
                    }

                    if (dtsInformacion.Tables[3].Rows.Count != 0)
                    {
                        lblnomconvocatoria.Text = ObtenerNombreconvocatoria();
                        lblnomproyecto.Text     = Codproyecto.ToString() + " - " + "\r\n" + dtsInformacion.Tables[3].Rows[0]["NOMPROYECTO"].ToString();
                        lblunidad.Text          = dtsInformacion.Tables[3].Rows[0]["UnidadEmprendimiento"].ToString();
                        lblnomciudad.Text       = dtsInformacion.Tables[3].Rows[0]["NOMCIUDAD"].ToString();
                    }


                    if (dtsInformacion.Tables[6].Rows.Count != 0)
                    {
                        txtcrif.Text = dtsInformacion.Tables[6].Rows[0]["CRIF"].ToString();
                    }
                    else
                    {
                        txtcrif.Text = string.Empty;
                    }

                    if (dtsInformacion.Tables[4].Rows.Count != 0)
                    {
                        hplAsesorLider.Text = dtsInformacion.Tables[4].Rows[0]["NombreLider"].ToString();
                    }
                    else
                    {
                        hplAsesorLider.Visible = false;
                    }

                    if (dtsInformacion.Tables[5].Rows.Count != 0)
                    {
                        hplAsesor.Text = dtsInformacion.Tables[5].Rows[0]["NombreAsesor"].ToString();
                    }
                    else
                    {
                        hplAsesor.Visible = false;
                    }

                    // obtengo todos los crif

                    if (dtsInformacion.Tables[7].Rows.Count != 0)
                    {
                        HttpContext.Current.Session["dtcrif"] = dtsInformacion.Tables[7];
                    }
                    else
                    {
                        HttpContext.Current.Session["dtcrif"] = null;
                    }


                    GetFechaAval();

                    ValidarPrecondiciones();

                    ValidaBotones();

                    if (Lectura)
                    {
                        txtcrif.Enabled = false;
                    }
                }


                consultas.Parameters = null;
                LlenarDtlistProyectoAcreditacion();
            }
            catch (Exception)
            {
                consultas.Parameters = null;
                throw;
            }
        }
 /// <summary>
 /// Actualizar la fecha de actualización de la tab actual.
 /// </summary>
 private void actualizarFechaActualizacionTab()
 {
     prActualizarTabEval(pestanaActual.ToString(), Codproyecto.ToString(), Codconvocatoria.ToString());
 }