Beispiel #1
0
 public DataTable GetProfile()
 {
     try
     {
         ProfileDAL objDal = new ProfileDAL();
         return(objDal.ReadProfile());
     }
     catch
     {
         throw;
     }
 }
Beispiel #2
0
 public int GetProfile(string username, string password)
 {
     try
     {
         ProfileDAL objdal = new ProfileDAL();
         return(objdal.ReadProfile(username, password));
     }
     catch (Exception)
     {
         return(-1);
         //MessageBox.Show(ex.Message());
     }
 }
Beispiel #3
0
        public DataTable GetProfile()
        {
            ProfileDAL objDAL = new ProfileDAL();

            return(objDAL.ReadProfile());
        }