Question: ) You would like to add a drop down list box to your web page showing each genre but your code below is only showing
You would like to add a drop down list box to your web page showing each genre but your code below is only showing gGenreName not the actual genre name when you run your application. How can you change the code so it works correctly?
@foreach Genre g in ViewBag.Genres
gGenreName
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
