예제 #1
0
 protected void LoadData()
 {
     if (System.Web.HttpContext.Current.Request.QueryString["Id"] == null)
     {
         rtvTopic.DataSource = TopicList.GetBindingSource();
         rtvTopic.DataBind();
     }
     else
     {
         art = PSCPortal.CMS.Article.GetArticle(System.Web.HttpContext.Current.Request.QueryString["Id"]);
         rtvTopic.DataSource = TopicBelongArticle.GetBindingSource();
         rtvTopic.DataBind();
     }
 }
예제 #2
0
 protected void LoadData()
 {
     rtvTopic.DataSource = TopicList.GetBindingSource();
     rtvTopic.DataBind();
 }