public static DataTable GetAllClassesForTeacher(string Id)
        {
            string com = "select * from Classes where TeacherId = '" + Id + "'";

            return(OLEDBHelper.GetTable(com));
        }
Ejemplo n.º 2
0
        public static DataTable GetAllStudents()
        {
            string com = "select * from Students";

            return(OLEDBHelper.GetTable(com));
        }
        public static DataTable GetAllClasses()
        {
            string com = "select * from Classes";

            return(OLEDBHelper.GetTable(com));
        }
        public static DataTable GetAllTeachers()
        {
            string com = "select * from Teachers";

            return(OLEDBHelper.GetTable(com));
        }