protected void Page_Load(object sender, EventArgs e) { var idPartido = ((int)HttpContext.Current.Session["AltaEstadisticaPartido"]); if (idPartido > 0) { Partido partido = Consultar.BuscarDatosPartidoPorId(idPartido); //ApeNom_label.Text = jugador.Apellido + ", " + jugador.Nombre; //Apodo_label.Text = jugador.Apodo; //DNI_label.Text = jugador.Dni; //Telefono_label.Text = jugador.Telefono; //imagenJugador.Src = jugador.Imagen; } }