private void pictureBox3_Click(object sender, EventArgs e) { dataGridView1.AutoGenerateColumns = false; dataGridView1.DataSource = _departamentoService.GetDepartamentoByCriteria(criterioTxtBox.Text).ToList(); }
private void pictureBox3_Click(object sender, EventArgs e) { dataGridView1.AutoGenerateColumns = false; dataGridView1.DataSource = _departamentoService.GetDepartamentoByCriteria(criterioTxtBox.Text).ToList(); }