I was following http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-4 this tutorial, and got struck there. I was doing everything
as in tut, but my database for genres is empty. When i click "Store" i shows me that has 0 genres. What could cause the issue ? Here are some ss of code that might help you.
None
0 Points
2 Posts
MVC Music store issue
May 20, 2014 01:19 PM|paradoxajd|LINK
Hello community :)
I was following http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-4 this tutorial, and got struck there. I was doing everything as in tut, but my database for genres is empty. When i click "Store" i shows me that has 0 genres. What could cause the issue ? Here are some ss of code that might help you.
http://pokit.org/get/?bbd76b8a7d9338ab7f2630fca956ff94.png
http://pokit.org/get/?878eabbc97fda452a4d130250def487b.png
http://pokit.org/get/?8e5a6a2461d967f3753e522b2a68e5dd.png
http://pokit.org/get/?5457f56d46ee42df84171d83eeb12d0f.png
http://pokit.org/get/?5dddd0b4eb2fdc9b28e6069afb544b53.png
All-Star
16806 Points
2777 Posts
Microsoft
Re: MVC Music store issue
May 21, 2014 03:27 AM|Kevin Shen - MSFT|LINK
Hi paradoxajd,
For your post,i have tried the demo,and i run it very well.
Here are my suggestion for you:
1 please make sure that you have add SampleData.cs in your application
2 If it does,please check your database ,see if the data exist in the database ,when your run your application
3 i suggest that you can download the project ,run it in your application,please refer to link below:
http://mvcmusicstore.codeplex.com/SourceControl/latest
Hope it can help you.
Best Regards,
Kevin Shen.