public DataTable RetFuncionarios() { DataTable dt = null; try { con.Conectar(); string query = "SELECT * FROM funcionario"; dt = con.RetDataTable(query); } catch (Exception e) { MessageBox.Show(e.Message); } finally { con.Desconectar(); } return(dt); }