protected void Page_Load(object sender, EventArgs e) { try { if (!String.IsNullOrEmpty(HttpContext.Current.Session["idConvocatoriaEval"].ToString())) { idConvocatoriaEval = HttpContext.Current.Session["idConvocatoriaEval"].ToString(); idDepartamentoEval = HttpContext.Current.Session["idDepartamentoEval"].ToString(); nomConvocatoriaEval = HttpContext.Current.Session["idNombreConvocatoria"].ToString(); idDepartamentos = idDepartamentoEval.Split(' '); } } catch (NullReferenceException) { Response.Redirect("ReportesEvaluacion"); } L_ReportesEvaluacion.Text = "REPORTE EVALUADORES POR DEPARTAMENTO - " + nomConvocatoriaEval; //L_Fecha.Text = "" + DateTime.Now.Day + " Del Mes " + DateTime.Now.Month + " De " + DateTime.Now.Year; InformacionDepartamento(); estructura(); GV_Reporte.DataSource = datatable; GV_Reporte.DataBind(); completar(); L_textTotalPlanes.Text = "" + TotalProyectos; }
private void completar() { String [] div = BoldNe.Split(','); for (int i = 0; i < div.Length - 1; i++) { GridViewRow GV_Fila = GV_Reporte.Rows[Int32.Parse(div[i])]; Label titulo1 = (Label)GV_Fila.FindControl("Label1"); Label titulo2 = (Label)GV_Fila.FindControl("Label2"); titulo1.Font.Bold = true; titulo2.Font.Bold = true; } GV_Reporte.DataBind(); }