Posts by AdmSemeq • 3 points
2 posts
-
0
votes1
answer142
viewsQ: Problem returning values to a combobox from a query
my DAO public List<Departamento> read(){ List<Departamento> departamentos = new ArrayList(); String query = "SELECT * FROM departamentos"; try { PreparedStatement ps =…
-
0
votes1
answer23
viewsQ: Popular combobox with a list of a query
Well I have a DAO class Departamentosdao I wanted to popular a combo box with a consultation I do in this DAO my DAO: public class DepartamentoDAO { private Connection con; public DepartamentoDAO()…