solution


In this exercise, you use a Microsoft Access database named Courses. The database is stored in the Courses.accdb file, which is located in the ClearlyVB2012Chap25 folder. The database contains one table named tblCourses. The table has 10 records, each having four fields: ID, Title, CreditHours, and Grade. The CreditHours field is numeric; the other fields contain text. Open the College Courses Solution (College Courses Solution.sln) file contained in the ClearlyVB2012Chap25College Courses Solution folder. Connect the application to the Courses database. Drag the table into the group box control and then dock the DataGridView control in its parent container. (In this case, the parent container is the group box control.) Use the DataGridView control’s task list to disable Adding, Editing, and Deleting. Change the DataGridView control’s AutoSizeColumnsMode property to Fill. Remove the BindingNavigator control from the form by deleting the BindingNavigator object from the component tray. Open the Code Editor window. Delete the Save Data button’s Click event procedure. Code the Next Record and Previous Record buttons. Code the btnDisplay_Click procedure to display either all the records or only the records matching a specific grade. Code the btnCalc_Click procedure to display the student’s GPA. An A grade is worth 4 points, a B is worth 3 points, and so on. Save the solution and then start and test the application. Close the Code Editor window and then close the solution.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
Looking for a Similar Assignment? Our Experts can help. Use the coupon code SAVE30 to get your first order at 30% off!