private void txtTimKiem_EditValueChanged(object sender, EventArgs e) { try { if (txtTimKiem.Text.Trim() == "") { dgvNCC.DataSource = ncc.getDSNCC(); } else { if (rdTen.Checked) { dgvNCC.DataSource = ncc.TimKiemTheoTen(txtTimKiem.Text); } else { dgvNCC.DataSource = ncc.TimKiemTheoSDT(txtTimKiem.Text); } } } catch { return; } }