How to get info from a ResultTable or ResultSet (SQL EXPRESS)


This is what i have:


List incisos = new ArrayList();

int resultLen = tableResult.size(); int i = 0; while (i < resultLen) { IncisoBO inciso = new IncisoBO();

 **   //inciso.setCode_Inciso();  


return incisos

The table result is filled with all the Incisos got it by a the next query:

Select * From dbo.Incisos

An inciso is a Row with 2 columns "Code" and "Description".

How can i get the information from the resultTable to fill //inciso.setCode_Inciso(); and //inciso.setDescription();???

Thank you!

No answers yet.