Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~150 People Reached
About Me

©Official Celeb On Facebook®
█║▌│█│║▌║││█║▌║▌║║▌

Favorite Forums
Favorite Tags
java x 1
Member Avatar for RazaAjmi

public void cosUpdate(String sr,String name,String fname,String adress,String phone,String refernce,String tailor) { try{ String QUERY1 = "UPDATE Info1 SET FatherName = '"+fname+"' WHERE Sr = '"+sr+"'"; JOptionPane.showMessageDialog(null,QUERY1); Class.forName(JDBC_DRIVER); connection=DriverManager.getConnection(DATABASE_URL); statement=connection.createStatement(); result =statement.executeUpdate(QUERY1); if(result >0) JOptionPane.showMessageDialog(null,"Successfull"); else JOptionPane.showMessageDialog(null,"UnSuccessfull"); } catch(Exception ex) { JOptionPane.showMessageDialog(null,"Error in cosUpdate() Method","Error",JOptionPane.ERROR_MESSAGE); } finally{ try{ resultset.close(); statement.close(); connection.close(); …

Member Avatar for stultuske
0
150