private void btnPesquisar_Click(object sender, EventArgs e) { int contato = Convert.ToInt32(cbxPesquisa.SelectedValue); dgvContato.DataSource = telefoneDao.retornarPorContato(contato); }
private void btnPesquisar_Click(object sender, EventArgs e) { int contato = Convert.ToInt32(cbxPesquisa.SelectedValue); dgvContato.DataSource = telefoneDao.retornarPorContato(contato); }