In this exercise, you modify the Oscar Winners application from this lesson. Use Windows to make a

Question:

In this exercise, you modify the Oscar Winners application from this lesson. Use Windows to make a copy of the Oscars Solution folder. Rename the copy Oscars Solution-Advanced. Open the Oscars Solution (Oscars Solution.sln) file contained in the Oscars Solution-Advanced folder. Use the Delete button, followed by the Yes and OK buttons, to delete all of the records from the dataset, and then click the Delete button again. The “Delete record for year ?” message appears. Notice that the message does not specify a year. Click the Yes button. A run time error occurs because the procedure is attempting to delete a record that does not exist. Click Debug on the menu bar and then click Stop Debugging. The btnDelete_Click procedure should ask the user to confirm the deletion of only existing records. In addition, it should not attempt to delete a record that does not exist. Modify the procedure, and then test it appropriately.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: