Exemplo n.º 1
0
 // Đăng nhập
 public bool kiemtra(string tendangnhap, string matkhau)
 {
     try
     {
         DAL_TAIKHOAN kt = new DAL_TAIKHOAN();
         return(kt.login(tendangnhap, matkhau));
     }
     catch
     {
         throw;
     }
 }
Exemplo n.º 2
0
 public DataTable get_Taikhoan()
 {
     try
     {
         DAL_TAIKHOAN tk = new DAL_TAIKHOAN();
         return(tk.DsNhapvien());
     }
     catch
     {
         throw;
     }
 }
Exemplo n.º 3
0
        // load danh sách user
        public List <BEL_TAIKHOAN> getDs_User()
        {
            DAL_TAIKHOAN ds = new DAL_TAIKHOAN();

            return(ds.load_User());
        }