private void btn_Luu_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            string error    = "";
            bool   isUpdate = false;
            bool   KiemTra  = false;

            if (_listUpdate.Count > 0)
            {
                foreach (int id in _listUpdate)
                {
                    NhanVien nv = new NhanVien();
                    nv.id_nhanvien = int.Parse(gridView1.GetRowCellValue(id, "id_nhanvien").ToString());
                    nv.tennhanvien = gridView1.GetRowCellValue(id, "tennhanvien").ToString();
                    nv.tendangnhap = gridView1.GetRowCellValue(id, "tendangnhap").ToString();
                    nv.matkhau     = gridView1.GetRowCellValue(id, "matkhau").ToString();
                    nv.id_quyen    = int.Parse(gridView1.GetRowCellValue(id, "id_quyen").ToString());
                    if (_Nv_Bll.KiemTraNhanVien(nv))
                    {
                        if (!_Nv_Bll.KiemTraTDNTonTai(nv.tendangnhap, nv.id_nhanvien))
                        {
                            _Nv_Bll.CapNhatNhanVien(nv);
                            isUpdate = true;
                        }
                        else
                        {
                            if (error == "")
                            {
                                error = nv.tennhanvien;
                            }
                            else
                            {
                                error += " | " + nv.tennhanvien;
                            }
                        }
                    }
                    else
                    {
                        KiemTra = true;
                    }
                }
            }
            if (isUpdate == true)
            {
                if (error.Length == 0)
                {
                    Notifications.Success("Cập dữ liệu thành công.");
                }
                else
                {
                    Notifications.Error("Có lỗi xảy ra khi cập nhật dữ liệu. Các nhân viên chưa được cập nhật (" + error + "). Lỗi: Tên nhân viên đã tồn tại.");
                }
            }
            else if (KiemTra == true)
            {
                Notifications.Error("Có lỗi xảy ra khi cập nhật dữ liệu. Lỗi: Dữ liệu không được rỗng.");
            }
            else
            {
                Notifications.Error("Có lỗi xảy ra khi cập nhật dữ liệu. Lỗi: Tên nhân viên đã tồn tại.");
            }
            btn_Luu.Enabled = false;
            LoadDataSource();
        }