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