public void update(String tempid,String name,String sid,int age,String course,String department) throws SQLException { try { int result = 0; s =