private void btnModificar_Click(object sender, EventArgs e) { var marcaEdit = new MarcaEditForm(); marcaEdit.bsEditado.DataSource = bsMarcas.Current; marcaEdit.ShowDialog(); ObtenerDatos(txtFiltro.Text.ToUpper()); }
private void btnAgregar_Click(object sender, EventArgs e) { var marcaEdit = new MarcaEditForm(); marcaEdit.bsEditado.DataSource = new BEL.MarcaBEL(); marcaEdit.ShowDialog(); ObtenerDatos(txtFiltro.Text.ToUpper()); }