Create a program that views and updates fan information stored in database titled databasedb, user ID titled
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a program that views and updates fan information stored in database titled "databasedb", user ID titled "student1" with a password "pass".
The table name is to be "fans" with the fields of ID (integer, PRIMARY KEY), firstname (varchar(25)), lastname (varchar(25)), and favoriteteam (varchar(25)).
- Your interface is to have 2 buttons to display and update records.
- The display button will display the record with the provided ID in the display (ID user provides).
- The update button will update the record in the database with the changes made in the display.
Your application is not to create or delete the table.
To work on this using your home database, you can make the table and populate it.
When the application is tested, the table will already be created and populated.
Write test code that ensures all methods and the interface functions correctly.
Related Book For
Posted Date: