2009-06-12 52 views

回答

4

您只需要將其類型:ViewPage<IList<MyCustomClass>>

+0

所以在局部視圖的頂部是這樣的: < %@ Page Title =「」Language =「C#」MasterPageFile =「〜/ Views/Shared/Site.Master」Inherits =「System.Web.Mvc.ViewPage >」%> – Danny 2009-06-12 16:44:06

相關問題