Nevermind I got it:
while (rs.next()){
String s = rs.getString(1);
}
Type: Posts; User: _lithium_
Nevermind I got it:
while (rs.next()){
String s = rs.getString(1);
}
I basically am trying to figure out how to populate data into my jTable on my frame from my database. I just haven't added a feature to iterate (advanced for loop) through multiple entries. I just...
Ok, I have this so far:
String getCust = "SELECT FirstName, LastName FROM Customer WHERE FirstName = ?";
PreparedStatement ps = con.prepareStatement(getCust);
...