MVC binding dropdownlist from database using viewbag code

preview_player
Показать описание
#viewbagdropdownlist #mvcdropdownlist #entityframeworkmvc

binding and populate column data from sql server table into dropdownlist helper in mvc without using enity framework
Рекомендации по теме
Комментарии
Автор

I am getting error in view at dropdown list line

zerotobeing
Автор

Hello sir can you please upload a video on populating dropdownlist value based on another dropdownlist from database when you are going to insert data into multiple tables

jalaluddin
Автор

Sir...I have created two tables Employee and Department and create form in MVC C#
Fields are - Emp_name, ph_no, mail, dept and salary.
Scenerio :-
I need to take the department data from department table and show the dropdownlist in insertion form.
So how can i do this ?
If you have any video regarding this please share me .
Advance thanks !!!

Mr_Zeesshhh