private void BindAffiche() { AfficheService afficheService = new AfficheService(); var list_all = afficheService.Find(new AfficheRequest() { PageSize = 6 }); this.Repeater_all.DataSource = list_all; this.Repeater_all.DataBind(); var list_szyd = afficheService.Find(new AfficheRequest() { Tag = "商住用地", PageSize = 6 }); this.Repeater_szyd.DataSource = list_szyd; this.Repeater_szyd.DataBind(); var list_gyyd = afficheService.Find(new AfficheRequest() { Tag = "工业用地", PageSize = 6 }); this.Repeater_gyyd.DataSource = list_szyd; this.Repeater_gyyd.DataBind(); var list_other = afficheService.Find(new AfficheRequest() { Tag = "其他用地", PageSize = 6 }); this.Repeater_other.DataSource = list_szyd; this.Repeater_other.DataBind(); var list_pic = list_all.Take(4); this.Repeater_pic.DataSource = list_pic; this.Repeater_pic.DataBind(); }