Question: In this exercise, you create an application that keeps track of music boxes. Create a Windows Forms application. Use the following names for the project
In this exercise, you create an application that keeps track of music boxes. Create a Windows Forms application. Use the following names for the project and solution, respectively: MusicBox Project and MusicBox Solution. Save the application in the VB2017\Chap11 folder.
a. Figure 11-60 shows the Boxes table contained in the VB2017\Chap11\Databases\ MusicBoxes.mdf file. The ID field is an auto-numbered field. Open the Data Sources window and click Add New Data Source to start the Data Source Configuration Wizard. Connect the MusicBoxes.mdf file to the application. Include the entire Boxes table in the dataset.
b. Set the MusicBoxes.mdf file’s Copy to Output Directory property to “Copy if newer”.
c. Display the dataset information in a DataGridView control and then make the necessary modifications to the control.
d. Enter an appropriate Try...Catch statement in the BoxesBindingNavigatorSaveItem_ Click procedure.
e. Save the solution and then start the application. Change record 9’s Source field to Gift. Then, enter the following new record: Round, Purchase, and Music of the Night. Save the changes.
f. Stop the application and then start it again to verify that the changes you made were saved.

Step by Step Solution
There are 3 Steps involved in it
Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 15 VisualStudioVer... View full answer
Get step-by-step solutions from verified subject matter experts
