Пример #1
0
        public DataTable GetCatalogInfoS2(int studentId, int studyYear)
        {
            DAStudents da           = new DAStudents();
            DataTable  catalogTable = da.GetCatalogInfo(studentId, studyYear, 2);

            return(catalogTable);
        }
Пример #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;
            }
        }
Пример #3
0
        public string GetAdmissionNumber(string hostCode)
        {
            DAStudents pDAL = new DAStudents();

            try
            {
                return(pDAL.GetAdmissionNumber(hostCode));
            }
            catch
            {
                throw;
            }
            finally
            {
                pDAL = null;
            }
        }
Пример #4
0
        public DataTable RetrieveAll(int userid, string hostCode)
        {
            DAStudents pDAL = new DAStudents();

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