thank you sir.My connection worked.
But I have a new doubt to ask.I am new to DB2 and I want to insert data into DB2 database using my Java Program in which I have a GUI asking for name and roll no.
Please tell me how should I put the insert statement in my Java program :
insert into student values(textbox1.text,textbox2.text);