Esempio n. 1
0
        /// <summary>
        /// 展示用户成功找回东西的次数
        /// </summary>
        protected void DisplayGetbackCount()
        {
            // BackingCount.InnerText = "0";

            try
            {
                Int64 userId = GetUserId();

                if (userId == -1)
                {
                    Response.Redirect("/layout/SignIn.aspx");
                    return;
                }

                BackingCount.InnerText = NoticeService.GetBackingCount(userId).ToString();
            }
            catch (Exception ex)
            {
                PromptInfo.Text = ex.Message;
            }
        }