protected override void AttachChildControls() { this.recordshopNews = (Repeater)this.FindControl("recordshopNews"); DataTable list = NoticeHelper.GetAffiches(this.maxCNum); if (list != null && list.Rows.Count > 0) { this.recordshopNews.DataSource = list; this.recordshopNews.DataBind(); } }