Esempio n. 1
0
 /// <summary>
 ///  获取历史班级下的学生 
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public void ClassUserHistory_List(HttpContext context)
 {
     IES.JW.Model.TeachingClass model = new IES.JW.Model.TeachingClass
     {
         TeachingClassID = Convert.ToInt32(context.Request["TeachingClassID"]),
         Key = context.Request["Key"]
     };
     int PageIndex = Convert.ToInt32(context.Request["PageIndex"]);
     int PageSize = Convert.ToInt32(context.Request["PageSize"]);
     IES.G2S.CourseLive.BLL.Test.MyGroupBLL bll = new IES.G2S.CourseLive.BLL.Test.MyGroupBLL();
     List<IES.JW.Model.User> list = bll.ClassUserHistory_List(model, PageIndex, PageSize);
     if (list != null)
     {
         context.Response.Write(Newtonsoft.Json.JsonConvert.SerializeObject(list));
     }
     else
     {
         context.Response.Write("False");
     }
 }
Esempio n. 2
0
        /// <summary>
        ///  获取历史班级下的学生
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public void ClassUserHistory_List(HttpContext context)
        {
            IES.JW.Model.TeachingClass model = new IES.JW.Model.TeachingClass
            {
                TeachingClassID = Convert.ToInt32(context.Request["TeachingClassID"]),
                Key             = context.Request["Key"]
            };
            int PageIndex = Convert.ToInt32(context.Request["PageIndex"]);
            int PageSize  = Convert.ToInt32(context.Request["PageSize"]);

            IES.G2S.CourseLive.BLL.Test.MyGroupBLL bll = new IES.G2S.CourseLive.BLL.Test.MyGroupBLL();
            List <IES.JW.Model.User> list = bll.ClassUserHistory_List(model, PageIndex, PageSize);

            if (list != null)
            {
                context.Response.Write(Newtonsoft.Json.JsonConvert.SerializeObject(list));
            }
            else
            {
                context.Response.Write("False");
            }
        }