private void bindData() { string manv = Settings.Default["MaNV"].ToString(); // MessageBox.Show(manv); var lst = nvBUS.NhanVien_GetByTop("", "manv='" + manv + "'", ""); NhanVienObj nv = lst[0]; txtHoTenNV.Text = nv.TenNV; txtNgaySinhNV.Text = nv.NgaySinh; txtDiaChiNV.Text = nv.DiaChi; txtCMT.Text = nv.CMT; txtSDT.Text = nv.SDT; txtMaNV.Text = nv.MaNV; if (nv.GioiTinh.Equals("0")) { radioNam.Checked = true; } else { radioNu.Checked = true; } var cv = cvBUS.ChucVu_GetByTop("", "MaCV='" + nv.MaCV + "'", ""); txtChucVu.Text = cv[0].TenCV; }