Ejemplo n.º 1
0
 private void Refrescar()
 {
     try
     {
         lstMat.DataSource    = Logica.SeleccionarTodos();
         lstMat.DisplayMember = "Nombre";
     }
     catch (Exception)
     {
         throw;
     }
 }
Ejemplo n.º 2
0
 private void Refrescar()
 {
     dataGridView1.DataSource = Logica.SeleccionarTodos();
 }