private void SelectMovieMoneyTop() { List <MovieMoneyTopModel> ls = new MovieInfoBLL().SelectMovieMoneyTopModel(); if (ls.Count > 0) { M_MovieID = ls[0].MovieID; M_MovieName = ls[0].MovieName; M_MovieCover = ls[0].MovieCover; M_SumMoney = ls[0].SumMoney; //移出首个 ls.RemoveAt(0); this.Repeater4.DataSource = ls; this.Repeater4.DataBind(); } }
private void SelectScoreMovieInfo() { List <MovieInfoModel> ls = new MovieInfoBLL().SelectScoreMovieInfo(); if (ls.Count > 0) { M_MovieID = ls[0].MovieID; M_MovieName = ls[0].MovieName; M_MovieCover = ls[0].MovieCover; M_MovieType = ls[0].MovieType; //移出首个 ls.RemoveAt(0); this.Repeater5.DataSource = ls; this.Repeater5.DataBind(); } }