Open the Opals Solution.sln file contained in the VB2017Chap12Opals Solution folder. The application is already connected to

Question:

Open the Opals Solution.sln file contained in the VB2017\Chap12\Opals Solution folder. The application is already connected to the Opals.mdf file, and the OpalsDataSet has already been created. The Product table in the database is shown in Figure 12-40. Create a query that calculates the total sales amount for each item. After creating the query, display the Product table (which will now contain the calculated field) in a DataGridView control, as shown in Figure 12-41. Save the solution and then start and test the application.

Name Data Type Allow Nulls Default O ID varchar(5) Name varchar(50) Price int int Sold int ID Name Price Sold F120 Full Headboard 60 F345 Full Bed 110 10 K120 King Headboard 120 45 King Bed King Pillows Q120 Que

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

Step by Step Answer:

Question Posted: