Esempio n. 1
0
 private void LoadPrograms()
 {
     using (var helper = new DbHelper.AcademicPlacement())
     {
         var rList = helper.ListRunningRunningClasses(AcademicYearId, SessionId);
         //uncomment this
         //ProgramSelection1.LoadStructure(rList, AcademicYearId, SessionId, ExamId);
     }
 }
Esempio n. 2
0
        public void LoadPrograms()
        {
            using (var helper = new DbHelper.AcademicPlacement())
            {
                var classes = helper.ListRunningRunningClasses(AcademicYearYearId, SessionId);//.OrderBy(p=>p.ProgramBatch.Program.Name);

                if (classes.Any())
                {
                    pnlSessionPrograms.Visible = true;
                }


                ListView1.DataSource = classes;
                ListView1.DataBind();
            }
        }