Esempio n. 1
0
 public int isAtuthencation()
 {
     StudentDAO s = new StudentDAO(sdDTO);
     if (s.isExist() > 0)
         return s.isExist();
     else
         return -1;
 }
Esempio n. 2
0
 public bool ChangePass(string newpass)
 {
     if (this.sdDTO.StudentID > 0)
     {
         StudentDAO s = new StudentDAO(sdDTO);
         if (s.ChangePassword(newpass) == true)
             return true;
         return false;
     }
     else
         return false;
 }