【发布时间】:2013-10-06 04:03:20
【问题描述】:
使用 MVC,我将 Projects 列表传递给视图。
@if (Model.Projects != null && Model.Projects.Count > 0)
{
<fieldset>
<table class="items" summary="@T("This is a table of the delivery Runs in your application")">
<colgroup>
}
else
{
//no data available
}
Model.Projects.Count > 0 表示:
operator > 不能应用于“方法组”类型的操作数和 'int'
【问题讨论】:
标签: c# asp.net asp.net-mvc-3 view count