asp.net mvc中有多少种类型的视图 [英] how many types of views in asp.net mvc

查看:82
本文介绍了asp.net mvc中有多少种类型的视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

asp.net mvc中有多少种类型的视图告诉我mvc .............................中的新内容。 ............................................

how many types of views in asp.net mvc plz tell me i m new in mvc..........................................................................

推荐答案

这不是一个好问题。看到此链接,您将了解基础知识。



对ASP.NET MVC 4的基本理解 [ ^ ]



问候..
This is not a good question. See this link and you will come to know the basics.

Basic Understanding On ASP.NET MVC 4[^]

Regards..


没有类型的视图。

MVC中的视图是用户看到的。控制器接受用户输入,与模型对话,执行所需的逻辑/验证,然后呈现所需的视图。

在一种情况下,视图可以是一个页面,其标题为欢迎光临MVC',在另一种情况下,View可以是具有网格,文本框和内容的复杂页面。

因此,View不是按类型定义的,而是取决于用户输入。

查看以下链接:

http://www.asp.net/mvc/tutorials/older-versions/views/asp-net-mvc-views-overview-cs [ ^ ]



问候

Anurag
There is no such thing as types of views.
Views in MVC is what is seen by the user. The controller takes in the user inputs, talks to the Model, does required logics/validations and then renders the required View.
In one case a view can be a mere page with a header saying 'Welcome to MVC', in another case the View can be a complex page having grids, textboxes and stuffs.
So, View is not defined by type, rather it depends upon the user inputs.
Have a look at the below link:
http://www.asp.net/mvc/tutorials/older-versions/views/asp-net-mvc-views-overview-cs[^]

Regards
Anurag


这篇关于asp.net mvc中有多少种类型的视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆