コード例 #1
0
        public ArrayList exportByMarkingScheme(int markingSchemeID)
        {
            exportRestriction studentRes = new exportRestriction();

            studentRes.colName       = "mschemeassigned";
            studentRes.expectedValue = markingSchemeID.ToString();
            List <exportRestriction> compiledRes = new List <exportRestriction>();

            compiledRes.Add(studentRes);
            ArrayList exportS = exportMarks(compiledRes);

            if (exportS.Count > 0)
            {
                return(exportS);
            }
            else
            {
                return(null);
            }
        }
コード例 #2
0
        public ArrayList exportSingleStudent(int studentId)
        {
            exportRestriction studentRes = new exportRestriction();

            studentRes.colName       = "studid";
            studentRes.expectedValue = studentId.ToString();
            List <exportRestriction> compiledRes = new List <exportRestriction>();

            compiledRes.Add(studentRes);
            ArrayList exportS = exportMarks(compiledRes);

            if (exportS.Count > 0)
            {
                return(exportS);
            }
            else
            {
                return(null);
            }
        }