示例#1
0
 public Boolean KiemTraThongTinDangNhap(DTO_Login dto_dangnhap)
 {
     DataTable dt = dal_dangnhap.LayThongTinUser(dto_dangnhap);
     if (dt.Rows.Count == 1)
         return true;
     return false;
 }
示例#2
0
 public DataTable LayThongTinUser(DTO_Login dangnhap)
 {
     return helper.GetDataTable("select TenDangNhap, MatKhau, Quyen from NhanVien where TenDangNhap = '"+dangnhap.TenDangNhap+"' and MatKhau = '"+dangnhap.MatKhau+"'");
 }
示例#3
0
 public DataTable LayDanhSachTheoID(DTO_Login dto_dangnhap)
 {
     return dal_dangnhap.LayThongTinUser(dto_dangnhap);
 }