its not working frnd :)
i hv done some editing..
now the query checks the existing book/user..
but now adding of data in the table is not occurring and updating that books table - available to not available!
Connection con=null;
PreparedStatement st1;
Statement st2,st;
ResultSet rs...
gm..
i hv created different table for userdetails..
check the foll. code..
> the data is updated and working fine.
> but its not checking that existing user/book includes in the database or not..
private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {...
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.