Practical No 8 JDBC
Practical No 8 JDBC
(JDBC)
Q-1). Write a JDBC program to perform the following operations on table Student (Roll no, Name,
Age) using Statement.
i. Insert any two records in the table Student.
ii. Display records from student table
iii. Update any record from table student
iv. Delete any record from student table
Q-2). Write a JDBC program to perform following operations on ta ble Student (Roll no, Name, Age)
using Prepared Statement.
i. Insert any two records in the table Student.
ii. Display records from student table
iii. Update any record from table student
iv. Delete any record from student table
Q-3). Design a Signup/Registration form using swing controls to store username and password of
user in database
Q-4). Design a Login Form using Swing controls containing your Username and Password where
Username and Password match with present value a greeting message should be displayed
otherwise error message should be displayed.