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); } }
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); } }