Em select dữ liệu thì bị lỗi: Lỗi Select: Sequence Contains No Elements ASP.NET MVC/LinQ anh chị nào biết giúp em với ạ. Đây là code của em ạ public ActionResult Index(String Acc, String Pass) { string mk = MaHoa.encrypSHA256(Pass); TaiKhoan ttdn = new ShopOnlineConnecting2().TaiKhoans.Where(x => x.taiKhoan1.Equals(Acc.ToLower().Trim()) && x.matKhau.Equals(mk)).First<TaiKhoan>(); bool isAuthentic = ttdn != null && ttdn.taiKhoan1.Equals(Acc.ToLower().Trim()) && ttdn.matKhau.Equals(mk); if (isAuthentic) { Session["ThongTinDangNhap"] = ttdn; return RedirectToAction("Index", "DashBoard", new { Area = "PrivatePages" }); } //---else return View(); }