reset password
Author Message
MarvinItzep
Posts: 11
Posted 14:47 Mar 06, 2014 |

How do I convert an Statement query to a string.

For example: 

ResultSet rs2 = stmt.executeQuery("SELECT passcode FROM Members where passcode=  ' "+ pw +" '  ");

Convert rs2 into a string??

cysun
Posts: 2935
Posted 15:57 Mar 06, 2014 |

Watch the lecture video.