Question: C# project 14 Using the database created in Programming Exercise 2, write a C# pro- gram to display the names and type of relationship of
C# project 14 Using the database created in Programming Exercise 2, write a C# pro- gram to display the names and type of relationship of the members of your family who live in the same hometown as you do. Do not include yourself in the query result. It may be necessary for you to go back into your database and modify some of the records for testing purposes. Dis- play your results in text boxes as opposed to a data grid. Provide appro- priate headings and labels. Exercise 2 Create a small Family database with one table to include data about members of your family. Include data fields such as first name, last name, type of relationship, hometown, and age. Include one field that uniquely identifies each record, such as a family member number. You can be creative with the family member number or use the auto-generated number from the database. Populate the database with members of your family. Be sure to include data about yourself in the table. Place at least 10 records in your database table, even if it is necessary to make up information. Write a C# program to display all of the data that appears in the database table on a data grid.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
