private void llenarCombo()
 {
     comboBox1.DataSource    = null;
     comboBox1.ValueMember   = "idBusiness";
     comboBox1.DisplayMember = "name";
     comboBox1.DataSource    = BusinessDAO.getLista();
 }
Esempio n. 2
0
        private void actualizarNegocios()
        {
            List <Business> lista = BusinessDAO.getLista();

            dataGridView6.DataSource = null;
            dataGridView6.DataSource = lista;
        }