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

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.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!