3人对饮

导航

 

1.LinkExtension类  HtmlHelper 的扩展方法,返回虚拟路径到 action方法,有ActionLink方法和RouteLink方法。这两个方法差别不大。

RenderAction“调用”用来呈现子视图的操作方法

2.BeginForm 引起【Httppost】action方法调用

3.自定义HtmlHelper,需要在View文件夹中的web.config文件中添加对添加方法所属命名空间的引用。

4.UrlHelper类 action方法

The ActionResult class is the base class for different controller results. The following diagram shows the types derived from the ActionResult type.

ActionResult类是其他控制器方法的基类

http://weblogs.asp.net/rajbk/archive/2010/05/03/actionresult-types-in-mvc2.aspx链接到stackoverflow

 

posted on 2012-10-06 16:23  3人对饮  阅读(1007)  评论(0编辑  收藏  举报