public void ShowChucVu() { DataTable dt = new DataTable(); dt = cvBus.GetData(); cmbChucVu.DataSource = dt; cmbChucVu.DisplayMember = "TenChucVu"; cmbChucVu.ValueMember = "MaChucVu"; }
private void HienThi() { dgvChucVu.DataSource = bus.GetData(); }
void hienthi() { dataChucVu.DataSource = bus.GetData(); }