LINQ Anonymous Types + MVC Views

后端 未结 6 1531
心在旅途
心在旅途 2021-01-03 00:40

I\'ve seen many questions about this, but i\'ve never really got the answer that I need.

I\'m converting a fairly large web application from Web Forms to MVC and af

6条回答
  •  没有蜡笔的小新
    2021-01-03 01:11

    I suspect that what you are looking for is a ViewModel: http://msdn.microsoft.com/en-us/vs2010trainingcourse_aspnetmvc3fundamentals_topic7.aspx

提交回复
热议问题