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

Показать описание
OVERVIEW :
Here in this video you will come to know about , how can you return more than one model or multiple models to a view . Its very important question for the interview and everyone should know this.
SOCIAL :
Follow us on Twitter : @technotipsMVC
GET CODE HERE :
INTRODUCTION :
The concept behind returning multiple model in single view is that you can use the class name as property which can be defined in some other class or model. following are the steps to do that .
1. Create modelA, modelB, and modelC
2.Define property in model C which will be like following
public modelA myfirstModelProperty { get; set }
public modelB mySecondModelProperty { get; set }
3. Return modelC to view
4.Done
RECOMMENDATION:
TAGS :
mvc return more than one model view
return multiple model
login page bootstrap
create registration page
Partial view in mvc
html.RenderAction
how to create a - website
how to create bootstrap popup modal
asp. net mvc
model view controller
jquery-ajax Post
Here in this video you will come to know about , how can you return more than one model or multiple models to a view . Its very important question for the interview and everyone should know this.
SOCIAL :
Follow us on Twitter : @technotipsMVC
GET CODE HERE :
INTRODUCTION :
The concept behind returning multiple model in single view is that you can use the class name as property which can be defined in some other class or model. following are the steps to do that .
1. Create modelA, modelB, and modelC
2.Define property in model C which will be like following
public modelA myfirstModelProperty { get; set }
public modelB mySecondModelProperty { get; set }
3. Return modelC to view
4.Done
RECOMMENDATION:
TAGS :
mvc return more than one model view
return multiple model
login page bootstrap
create registration page
Partial view in mvc
html.RenderAction
how to create a - website
how to create bootstrap popup modal
asp. net mvc
model view controller
jquery-ajax Post
Комментарии