protected void Page_Load(object sender, EventArgs e)
    {
        string uid = new SetCookie().WhetherOnline();
        if (!string.IsNullOrEmpty(uid))
        {

            string type = null;
            if (!string.IsNullOrEmpty(Request.QueryString["type"]))//获取数据类型
            {
                type = Request.QueryString["type"];
            }
            if (type == "b8ca28006a659d5fed930fcf333976be")
            {
                DataSet ds = new questionDAL().GetList(" order by nc_qid asc");
                totalTimu = ds.Tables[0].Rows.Count;
                DataSet tihaods = new dateConversion().getTihaoData(ds);
                tihaoRepeater.DataSource = tihaods;
                tihaoRepeater.DataBind();
                title = "顺序练习";
            }
            if (type == "a1d8bfacd7aa75f6f6500f361e352648")
            {
                DataSet ds = new questionDAL().GetList(" order by newid()");
                totalTimu = ds.Tables[0].Rows.Count;
                DataSet tihaods = new dateConversion().getTihaoData(ds);
                tihaoRepeater.DataSource = tihaods;
                tihaoRepeater.DataBind();
                title = "随机练习";
            }

        }
        Page.DataBind();
    }
 protected void Page_Load(object sender, EventArgs e)
 {
     string uid = new SetCookie().WhetherOnline();
     if (!string.IsNullOrEmpty(uid))
     {
         DataSet ds = new cuotiDAL().GetList(" nc_uid='" + uid + "' order by nc_qid asc");
         totalTimu = ds.Tables[0].Rows.Count;
         DataSet tihaods = new dateConversion().getTihaoData(ds);
         tihaoRepeater.DataSource = tihaods;
         tihaoRepeater.DataBind();
     }
     Page.DataBind();
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     string uid = new SetCookie().WhetherOnline();
     if (!string.IsNullOrEmpty(uid))
     {
         DataSet ds = new questionDAL().GetList(" where nc_qid in(select top 200 nc_qid from question order by newid()) order by int_qtype asc");
         totalTimu = ds.Tables[0].Rows.Count;
         DataSet tihaods = new dateConversion().getTihaoData(ds);
         tihaoRepeater.DataSource = tihaods;
         tihaoRepeater.DataBind();
     }
     Page.DataBind();
 }