private void LoadNV() { QLNhanVienBUS _Staff = new QLNhanVienBUS(); dtgvNV.DataSource = _Staff.GetData(); ButtonControl(1); }
public void LoadNVToComboBox() { QLNhanVienBUS _Staff = new QLNhanVienBUS(); cmbTenNV.DataSource = _Staff.GetData(); cmbTenNV.DisplayMember = "TenNV"; cmbTenNV.ValueMember = "MaNV"; }