How do I assign rs.getDouble("column1") to a variable? Using double var = rs.getDouble("column1") and Double var = rs.getDouble("column1") gives error. I know Double is a class so have to change from double to Double first. I am getting confused here.
Anyway initializing double also a problem like double var = 0; -->gives error int found instead of double How can I initialize double?
Now I have to be content with grabbing the data in String then convert it to double only then display it. Thanks