private void Form1_Load(object sender, EventArgs e) { try { ClienteDAO dao = new ClienteDAO(); dg_tabelacliente.DataSource = dao.ListarTodosClientes(); CargoDAO dao_cargo = new CargoDAO(); cbcargo.DataSource = dao_cargo.ListarCargos(); cbcargo.DisplayMember = "descricao"; cbcargo.ValueMember = "id"; } catch (Exception erro) { MessageBox.Show(erro.ToString()); } }