This module you have been asked to create SQL Server Database to keep track of donations from members of the church. You are tasked with creating the database, the form, and a query. Please see the requirements below.
1. Project
a. You must save your project using your initials in the name.
2. Create a SQL Server Database
a. Create a Service-based Database in the project called yourinitialsDonations.mdf with the following fields and their settings to the database.
b. Primary Key should be ID, Set the Identity Specification (Is Identity) = True
Name | Type | Null? |
ID | int | Not Null |
FirstName | Varchar(50) | Not Null |
LastName | Varchar(50) | Not Null |
Amount | Money | Not Null |
DonationDate | Date | Not Null |
c. The following data is required for your database. Please remember you do not need to enter the ID as it will be entered for you. **You must enter four entries of your own with your name, your instructors name, and two names of your choice. The amounts and dates can be of your choice for your entries. Your assignment will not be accepted without this.
Figure: see image.
3. Create a dataset
4. Create a Data form like the one below using the Donations.mdf database file.
Figure: see image.
5. Create a Try Catch for the Save Item Click and create a message box for the Changes saved and the Exception if not saved.
6. Create a SQL Query (SELECT which returns rows) using the query builder to display all donations greater than or equal to $50.
7. The Filter Button uses the query to only display values filtered by the query.
8. The close button closes the application.