Exemplo n.º 1
0
        public DataTable GetCatalogInfoS2(int studentId, int studyYear)
        {
            DAStudents da           = new DAStudents();
            DataTable  catalogTable = da.GetCatalogInfo(studentId, studyYear, 2);

            return(catalogTable);
        }
Exemplo n.º 2
0
        public int InsertStudent(int?id, string studentData, int userid, string hostCode)
        {
            DAStudents pDAL = new DAStudents();

            try
            {
                return(pDAL.InsertStudent(id, studentData, userid, hostCode));
            }
            catch
            {
                throw;
            }
            finally
            {
                pDAL = null;
            }
        }
Exemplo n.º 3
0
        public string GetAdmissionNumber(string hostCode)
        {
            DAStudents pDAL = new DAStudents();

            try
            {
                return(pDAL.GetAdmissionNumber(hostCode));
            }
            catch
            {
                throw;
            }
            finally
            {
                pDAL = null;
            }
        }
Exemplo n.º 4
0
        public DataTable RetrieveAll(int userid, string hostCode)
        {
            DAStudents pDAL = new DAStudents();

            try
            {
                return(pDAL.RetrieveAll(userid, hostCode));
            }
            catch
            {
                throw;
            }
            finally
            {
                pDAL = null;
            }
        }