Practical 4
Last updated
Was this helpful?
Last updated
Was this helpful?
Write a program to perform CRUD operation.
Write a program to perform CRUD operation using prepared statement.
Demonstrate the use of row set and updatable and scrollable result set.
Create one complete form using swing (id username password, gender (radio button), course (check box), country (combo box), submit and reset button). validate the form (check for emptiness, password and should be equal) and insert the data into database using prepared statement. After this create a login form with fields username, password and submit button. if username and password matched with database record then display all the record of table using rowset or scrollable ad updateable result set. Also perform following operation:
Update the name of student to "sanu" and
course to "BCA"
whose id is 3.