Topic.aspx.cs 763 Bytes
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Quiz.SiteBase;

namespace Quiz.WebSite.Common
{
    public partial class Topic : WebSiteBase
    {
        protected string JsonData;
        protected List<Models.Topic> list = null;
        protected int topictype = 0, current = 0, num = 0, total = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
             
            if (SiteBase.Cache.CacheManage.Topic.CacheData == null) list = new List<Models.Topic>();
            else
            {
                list = (List<Models.Topic>)SiteBase.Cache.CacheManage.Topic.CacheData;
            }
            total = list.Count;
            
        }
    }
}