#12 Strongly Typed Views in Asp.net MVC || ASP.NET MVC IN TAMIL

preview_player
Показать описание


There are three ways to pass information from a controller to a view in ASP.NET MVC

1. As a strongly typed model object.

2. As a dynamic type (using @model dynamic)

3. Using the ViewBag


When you add a new View in MVC, you get an opportunity to create it strongly typed. In the image given below, when you check "Create a strongly-typed view" and select the "Model class" you get the following code snippet on the view page.


Make sure the Create a strongly-typed view box is not checked. The resulting view doesn't contain much

This Video is Part of " ASP.NET MVC IN TAMIL "

**********************************************************************
Special Offers:

**********************************************************************

Contact Details :
Feel free to Call : (+91) 850 850 2000

#ASPDotNETMVCInTamil #PhotoshopInTamil #CollectivaKnowledgeAcademy
Related searches:
Рекомендации по теме
Комментарии
Автор

Great sir, i m impressed. Please continue your service. If you can, Can u please upload videos for Sitecore-CMS.

selvakumark
Автор

Sir, @Model nu potu antha model iruka properties lam access panringa... suppose more than one model la irunthu data venum na epdi edukurathu...

balasiphone