protected void Page_Load(object sender, EventArgs e) { movie = movieBusiness.GetMovieByID(Convert.ToInt32(Request.QueryString["value"])); SetMovieDetails(movie); projectionList = projBusiness.GetProjectionsWithMovieIDAsociated(Convert.ToInt32(Request.QueryString["value"])); ProjectionRepeater.DataSource = projectionList; ProjectionRepeater.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { if (Session["MOVIE"] != null) { movie = (pelicula)Session["MOVIE"]; projectionList = movie.proyeccion.ToList(); ProjectionRepeater.DataSource = projectionList; ProjectionRepeater.DataBind(); projectionTittle.InnerText = "Todas las proyecciones para " + movie.nombre; } }