DropDown in MVC with SQL Server using entity framework

preview_player
Показать описание
How To Create DropDownList In MVC With Example
Drop Down in MVC with SQL Server
cascading dropdown in mvc 4 using entity framework
Steps in Video:
1) Create database and EmployeeDetails Table
2) Create MVC Project
3) Generate Edmx File
4) Create Controller
5) Write two functions to fetch data from DQL server
6) Create View
7) Show Dropdowns.

dropdown in mvc using entity framework
dropdown in mvc 5

Рекомендации по теме
Комментарии
Автор

Thanks, this helped a lot. I had to declare a [key] and [table"users"] in my view model in order to create the view but after that it all worked smoothly.

vf
Автор

EmployeeDetails method where was declared? This could mess up all your work.

nicaradu
welcome to shbcf.ru