コード例 #1
0
        public static DataTable GetAllClassesForTeacher(string Id)
        {
            string com = "select * from Classes where TeacherId = '" + Id + "'";

            return(OLEDBHelper.GetTable(com));
        }
コード例 #2
0
        public static DataTable GetAllStudents()
        {
            string com = "select * from Students";

            return(OLEDBHelper.GetTable(com));
        }
コード例 #3
0
        public static DataTable GetAllClasses()
        {
            string com = "select * from Classes";

            return(OLEDBHelper.GetTable(com));
        }
コード例 #4
0
        public static DataTable GetAllTeachers()
        {
            string com = "select * from Teachers";

            return(OLEDBHelper.GetTable(com));
        }