public void PopMoiveDetails() { ImDb.WebService Wb = new ImDb.WebService(); ImDb.MovieDetails Movie = Wb.GetMoviesDetails(int.Parse(MovieId)); this.LabelMovieName.Text = Movie.MoivesName; this.LabelDescription.Text = Movie.description; this.ImageMoviePhoto.ImageUrl = Movie.UrlPicture; this.LabelYearRate.Text += Movie.YearRate; this.LabelDate.Text += Movie.Date.ToShortDateString(); this.Labelcategory.Text = Movie.Category; this.DataListPlayers.DataSource = Movie.PlayersNRevive.Tables["PlayersTBbl"]; this.DataListPlayers.DataBind(); this.DataListReview.DataSource = Movie.PlayersNRevive.Tables["ReviewsTBbl"]; this.DataListReview.DataBind(); }
protected void ButtonTrailler_Click(object sender, EventArgs e) { ImDb.WebService Wb = new ImDb.WebService(); ImDb.MovieDetails Movie = Wb.GetMoviesDetails(int.Parse(MovieId)); Response.Redirect(Movie.TrailerAdd); }