Пример #1
0
        /// <summary>
        /// 载入年级班主任
        /// </summary>
        public static void LoadGradeClassMaster()
        {
            _gradeClassMaster = new GradeClassMaster(ClassCount);
            DataTable dt = StaticSQLiteHelper.GetGradeClassMaster();

            foreach (DataRow row in dt.Rows)
            {
                _gradeClassMaster.Add(Convert.ToInt32(row[0]), Convert.ToInt32(row[1]));
            }
        }