开发者

meaning of "strongly typed view"

What is the meaning of "strongly typed view" in A开发者_运维技巧SP.Net MVC.


The type you return from the controller should match the type of your view.

e.g if your view Inherits="System.Web.Mvc.ViewPage<MyModel>" then your controller should return MyModel

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜