public void ShowNewsByNewsFlows(int NewsflowCode)
        {
            try
            {
                strPageNo = Request["PageNo"];

                PageNo = Convert.ToInt32(strPageNo);

                if (PageNo == 0)
                {
                    PageNo = 1;
                }
                if (PageNo > 50)
                {
                    PageNo = 50;
                }

                BOLNews NewsBOL = new BOLNews();
                IQueryable <vNewsflowNews> ItemList = NewsBOL.GetNewsNewsflows(NewsflowCode, _pageSize, PageNo);
                int ResultCount = NewsBOL.GetNewsNewsflowsCount(NewsflowCode);
                rptNewsList.DataSource = ItemList;
                rptNewsList.DataBind();

                ConcatUrl = "&Code=" + NewsflowCode;
                int PageCount = ResultCount / _pageSize;
                if (ResultCount % _pageSize > 0)
                {
                    PageCount++;
                }
                pgrToolbar.PageNo    = PageNo;
                pgrToolbar.PageCount = PageCount;
                pgrToolbar.ConcatUrl = ConcatUrl;
                pgrToolbar.PageBind();
            }
            catch (Exception err)
            {
                BOLErrorLogs ErrorLogsBOL = new BOLErrorLogs();
                ErrorLogsBOL.Insert(err.Message, DateTime.Now, Request.Url.AbsolutePath, "UCNewsList::ShowNewsByNewsFlows");
            }
        }