Part 30- How to return multiple models to a view in asp.net mvc | Interview question

  Рет қаралды 62,370

Technotips Ashish

Technotips Ashish

Күн бұрын

Пікірлер: 40
@aapkanigam
@aapkanigam 6 жыл бұрын
Can we reach 1000 likes on this video. Share this video among your friends and Give your suggestions on which topic I should make videos. Thanks
@sadenlav
@sadenlav 5 жыл бұрын
How to use @foreach from two models? Example: we have two function FunctionGetParamenter and FunctionSelectAll from SQL Server to display data into the only table
@mehmetaltuntas422
@mehmetaltuntas422 7 жыл бұрын
Your explaining is most beatifull.Thanks!
@aapkanigam
@aapkanigam 7 жыл бұрын
+MEHMET ALTUNTAŞ thanks keep sharing if you find this useful
@devdattrai5858
@devdattrai5858 7 жыл бұрын
Thank you very much..its important question of MVC.
@IrizLegaspi
@IrizLegaspi 2 жыл бұрын
How can you hide the tope menu link while on registration or when your only general user?
@pankajgour2113
@pankajgour2113 7 жыл бұрын
Thank you very much awesome videos!!!!! keep it up
@rajeshyada6714
@rajeshyada6714 5 жыл бұрын
thq for vedios , We r going to use ViewModels to achieve same.
@donaghyamachi9249
@donaghyamachi9249 5 жыл бұрын
Nice tip, the other option would be... using viewbag for each model(a & b)
@vinayakjambhale5985
@vinayakjambhale5985 6 жыл бұрын
Sir i got an error of- foreach statement cannot operate on variables of type "MyViewModel" because "MyViewModel" does not contain a public definition for 'GetEnumerator'... When i try to display single & List of data in same view...Please Help me...
@francomacias8904
@francomacias8904 5 жыл бұрын
Very Nice, Thanks a Lot!!!
@zoeliu2651
@zoeliu2651 3 жыл бұрын
Helpful!
@kaushikbhadani4227
@kaushikbhadani4227 7 жыл бұрын
very very nice Ashish.
@Yogeshghonate
@Yogeshghonate 6 жыл бұрын
Ashish how to apply required validation to the multiple model view
@sanketdholu649
@sanketdholu649 4 жыл бұрын
hello sir i m facing error Under -- (m=> m.name) error is--- "an expression tree may not contain a dynamic operation " please help....
@WildZesty
@WildZesty 5 жыл бұрын
Thank you Ashish!
@cavidhummatov4431
@cavidhummatov4431 5 жыл бұрын
quite helpfull. Thanks alot
@lifet4800
@lifet4800 8 жыл бұрын
can we use expandoobjects without creating separate viewmodel.
@aapkanigam
@aapkanigam 8 жыл бұрын
+LifeT ya there are several possibility..
@lifet4800
@lifet4800 8 жыл бұрын
can u please explain...how it can be achieved
@icccricket1741
@icccricket1741 8 жыл бұрын
sir how to achieve editable table with multiple rows and post the data of multiple rows to a multiple tables in SQL server using MVC
@aapkanigam
@aapkanigam 8 жыл бұрын
+Virender Mehta with Jquery you can get the value of table . And with $.each fuction you can get value of each row. For inserting data into multiple tables please watch part 14
@aapkanigam
@aapkanigam 8 жыл бұрын
+Virender Mehta watch part 13 for insert data into multiple tables
@achalprajapati1192
@achalprajapati1192 6 жыл бұрын
Nice video sir, If i m insert data same multiple model then how it is possible ?
@sandeepnath4812
@sandeepnath4812 6 жыл бұрын
ViewModel,Dynamic model,Tuple
@benjaminotero1924
@benjaminotero1924 5 жыл бұрын
Thank you very much ! ! !
@balasenk
@balasenk 6 жыл бұрын
Ashish, This is great tutorial. and if i need to pull data from sql for Dropdownlist what should i do.
@aapkanigam
@aapkanigam 6 жыл бұрын
+balasubramanian senthilkumar Thanks..part 36 will help you definitely
@dotNet6
@dotNet6 5 жыл бұрын
Why create the list of model c???
@marioazulay8390
@marioazulay8390 7 жыл бұрын
THANK YOU!!!!!
@RiderInHell
@RiderInHell 4 жыл бұрын
Oh, ok. So, basically use a global model that encapsulates the models you need for a page. What I have been doing, basically. Just checking it there was a better way but it's more of the same.
@narendarsingh4672
@narendarsingh4672 6 жыл бұрын
great sir
@amamsharma372
@amamsharma372 10 ай бұрын
What is answer of questions please provide a summary in end
@adishjain3073
@adishjain3073 7 жыл бұрын
How to pass Data from one view to another View?
@aapkanigam
@aapkanigam 7 жыл бұрын
+Adish Jain use tempData to persist your data from successive request using temp.keep method. Watch part 5
@sandeepnath4812
@sandeepnath4812 6 жыл бұрын
You can use "Session" object for this purpose. Ofcourse, you have other ways too like ViewData, TempData and ViewBag. But they are (ViewData and ViewBag) available only for the next request. TempData will avail still you read (if you want you can extend it's lifetime).
@gor2em
@gor2em 4 жыл бұрын
thanks teşekkürler
@lutforurc
@lutforurc 8 жыл бұрын
Sir I am waiting for your next update
@aapkanigam
@aapkanigam 8 жыл бұрын
+Lutfor Rahman sure ..keep learning and sharing
Part 22- Style.Render, Script.Render, and BundleConfig file in Asp.net MVC
11:17
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Part 23- RenderBody , RenderSection and RenderPage method in ASP.NET MVC
15:15
Part 18- How to call a partial View using JQuery in ASP.NET MVC
12:26
Technotips Ashish
Рет қаралды 58 М.
Part 4- MODEL Binding in ASP.NET MVC (Model-View-Controller)
13:23
Technotips Ashish
Рет қаралды 77 М.
Part 12- Server Side and Client Side Validation in ASP.NET MVC
17:30
Technotips Ashish
Рет қаралды 63 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.