dim rownumber as int = 0
Do While resultset1.NextRow
if rownumber = 14 then
something = resultset1.getint("buyprice")
end if
rownumber=rownumber+1
Loop
dim rownumber as int = 0
Do While resultset1.NextRow
if rownumber = 14 then
something = resultset1.getint("buyprice")
end if
rownumber=rownumber+1
Loop
JDBCResultSet is normal to create your own integer row number either starting from 0 or 1 then check , Keep in mind that in your case 14 is the 15th Row not the 14th.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.