Exemplo n.º 1
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.º 2
0
 public DataTable RetrieveAll(int userid, string hostCode)
 {
     DAStudents pDAL = new DAStudents();
     try
     {
         return pDAL.RetrieveAll(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;
     }
 }