Question: Do by yourself: Open the MVC application name EnrollmentApplication (created in Lab 4) If you dont know lab 4 (https://www.chegg.com/homework-help/questions-and-answers/using-visual-studio-2017-need-assistance-following-application-create-new-mvc-application--q26888608) Add the following to the

Do by yourself: Open the MVC application name EnrollmentApplication (created in Lab 4)

If you dont know lab 4 (https://www.chegg.com/homework-help/questions-and-answers/using-visual-studio-2017-need-assistance-following-application-create-new-mvc-application--q26888608)

Add the following to the Enrollment class under Model folder. IsActive (Boolean type) AssignedCampus(String) EnrollmentSemester(String) EnrollmentYear(Integer)

Build the application In the EnrollmentController, update the new fields to the bindings as needed. Add the fields to Create view and Edit view using the Strongly typed Htmlhelpers (example @Html.LabelFor instead of @Html.Label) IsActive will be a Checkbox AssignedCampus will be a textbox EnrollmentSemester will be a radiobutton {Spring, Summer, Fall are the options} EnrollmentYear will be a textbox All new fields should have Labels in front of them. Add the fields to the Details view using Strongly types HtmlHelpers IsActive will be a Checkbox AssignedCampus will be a textbox Use @Html.DisplayFor instead of @Html.RadioButtonFor for EnrollmentSemester EnrollmentYear will be a textbox All new fields should have Labels in front of them. Run the application. Create a new enrollment. This should show the 4 new fields also. Add a student and save the changes. Details view should show the new student and also have the 4 new fields. Edit an enrollment, make changes to the 4 new fields, save it. Details view should show the updates made to the 4 new fields. Capture screenshots in a word document.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!