Тёмный

How to pass Multiple Models in Single View in MVC 

Tek Tuition
Подписаться 9 тыс.
Просмотров 23 тыс.
50% 1

How to pass Multiple Models in Single View in MVC

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@nicksonlukalaga4031
@nicksonlukalaga4031 4 года назад
@Tek Tuition Really grateful for this piece. Helped me tackle an issue i had on a project. Keep it up
@barotjelo6300
@barotjelo6300 2 года назад
Thank you for doing a demo
@fholguin1102
@fholguin1102 2 года назад
Thank you works great with dupla and IEnumerable. God bless you. New Suscriptor.
@rashedontor2082
@rashedontor2082 3 года назад
Very good video...thanks
@DineshJethoe
@DineshJethoe 6 лет назад
So the answer is, by using a ViewModel class or dynamic model or model as a tuple.
@TekTuition
@TekTuition 6 лет назад
Yes you are right you can use ViewData and ViewBag also
@RG-sv6qd
@RG-sv6qd 6 лет назад
Thanks for sharing sir. Keep it up.
@TekTuition
@TekTuition 4 года назад
Thanks
@MuhammadBilal-ly1ct
@MuhammadBilal-ly1ct 6 лет назад
Sir, I am trying to show two database table like employees and employeeInfo in a single view and want to do CRUD operation without using entity framework on it can u help me doing this.
@TekTuition
@TekTuition 6 лет назад
You can use ViewModel for that. Same viewmodel return to controller. it this way you will get both model value. and u can add into database. I will create video for that.
@MuhammadBilal-ly1ct
@MuhammadBilal-ly1ct 6 лет назад
@@TekTuition . Sure sir, thanks. kindly make a video soon.
@DavidGarcia-yf8po
@DavidGarcia-yf8po Год назад
Thanks!!! It took me 2 days to find your video
@danyoli4592
@danyoli4592 4 года назад
Hello @Tek !! How to retrieve data from one table in a view and Save same retrieved data with Adding some extra field in another table in asp.net core? Can you do this in another video? If done then please provide me the link.
@sanjeevipoojitha9328
@sanjeevipoojitha9328 Год назад
It is displaying only single view how to dispaly mutiple views ?
@sanjeevipoojitha9328
@sanjeevipoojitha9328 Год назад
Only one model
@abd-elhamedelsa3dany972
@abd-elhamedelsa3dany972 Год назад
Thank you for doing a demo
Далее
Automapper in ASP.NET MVC5
21:01
Просмотров 12 тыс.
@ItsMamix учу делать сигму😎
00:12
Просмотров 679 тыс.
Broadcast SQL Data Using SignalR in MVC
36:00
Просмотров 10 тыс.
Token based authentication (JWT) in Web API and MVC
1:02:05
jQuery Ajax CRUD in ASP.NET Core MVC using Popup Dialog
59:47
Kendo Grid in MVC
18:19
Просмотров 19 тыс.
Dropdown with Multiple checkbox using jQuery in MVC 5
25:28
@ItsMamix учу делать сигму😎
00:12
Просмотров 679 тыс.