阅读背景:

Asp.net MVC用户控件ViewData

来源:互联网 

When a controller renders a view based on a model you can get the properties from the ViewData collection using the indexer (ie. ViewData["Property"]). However, I have a shared user control that I tried to call using the following:When a controller renders a view based on a mod




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: