How to get info from a ResultTable or ResultSet (SQL EXPRESS)
This is what i have:
import com.company.model.IncisoBO;
List
int resultLen = tableResult.size(); int i = 0; while (i < resultLen) { IncisoBO inciso = new IncisoBO();
** //inciso.setCode_Inciso();
//inciso.setDescription();
incisos.add(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.