Ejemplo n.º 1
0
        private void BindListView()
        {
            KCCWebService web = new KCCWebService();

            noticeListView.DataSource = web.noticeShow();
            noticeListView.DataBind();
            latestArticle.DataSource = web.articleShow();
            latestArticle.DataBind();
        }
        private void BindListView()
        {
            KCCWebService web = new KCCWebService();

            noticeListView.DataSource = web.noticeShow();
            noticeListView.DataBind();
            // showPost.DataSource = web.showArticle(Session["articleId"].ToString());
            showPost.DataSource = web.showArticle(Request.QueryString["articleId"]);
            showPost.DataBind();
            // Session.Remove("articleId");
            // Response.Cookies["articleId"].Expires = DateTime.Now.AddDays(-1);
            latestArticle.DataSource = web.articleShow();
            latestArticle.DataBind();
        }