コード例 #1
0
        protected void Page_PreInit(object sender, EventArgs e)
        {
            try
            {
                if (!IsPostBack)
                {
                    GetCookie();
                    _blltag        = new BllTag();
                    Lstdtonewsfeed = new List <DtoNewsFeed>();

                    if (Request.QueryString["flow"] != null && Request.QueryString["flow"].ToLower() == "search")
                    {
                        _search        = Request.QueryString["search"];
                        _pageNo        = Convert.ToInt32(Request.QueryString["PageNo"]);
                        Lstdtonewsfeed = _blltag.ExplorehNewsFeed(_userId, _search, _pageNo, 10);
                    }
                }
            }
            catch (Exception ex)
            {
                ex.ToExceptionless().Submit();
            }
        }