Example #1
0
 private void ListaEmpleados()
 {
     try
     {
         dataGridView1.DataSource = empleado.obtenerTodos();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }