public void LoadData()
 {
     System.Collections.Generic.IEnumerable <CMS.Article> it = ListArticle.Take(Number);
     if (it.Count() > 0)
     {
         CMS.Article article = it.Take(1).Single();
         ArticleId              = article.Id.ToString();
         ArticleName            = article.Name;
         ArticleDescription     = article.GetDescription();
         rptTabTopic.DataSource = it.Skip(1);
         rptTabTopic.DataBind();
     }
 }
Ejemplo n.º 2
0
 public void LoadData()
 {
     System.Collections.Generic.IEnumerable <CMS.Article> it = ListArticle.Take(Number);
     rptTabTopic.DataSource = it;
     rptTabTopic.DataBind();
 }