Пример #1
0
 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();
 }
Пример #2
0
 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);
 }