private void toolStripButton1_Click_1(object sender, EventArgs e) { if (idTextBox.Text != "") { var clienteId = Convert.ToInt32(idTextBox.Text); _cliente.RefrescarDatos(clienteId); listaClientesBindingSource.ResetBindings(false); } }
private void buttonRefrescar_Click(object sender, EventArgs e) { if (idTextBox.Text != "") { var clienteId = Convert.ToInt32(idTextBox.Text); _clientes.RefrescarDatos(clienteId); clienteBindingSource.ResetBindings(false); } }