thank you very much for your help. I did it by your
instruction. there is an Incompatible types error with
this phrase:
rset=stmt.executeUpdate("insert into kairegistration
values ('"+studentid+"','"+coursenumber+"')");
I do not know how should i make modification to this
phrase. and please refer to attached
Studentaddcourse1.java file.