-1
@for (int counterA = 0; counterA < TotalIterations; counterA++)
{
    <tr>
    @for (int DayCounter = (counterA * 10); DayCounter <= ((counterA + 1) * 10) - 1; DayCounter++)
    {
        <td>a

        @{
            string @isCurrent = "0";
            if (1 == 1)
            {
            }
        }
        </td>
    }
    </tr>
}
4

1 回答 1

2

以下行可能是问题所在:

string @isCurrent = "0";

没有必要在@这里放一个。写吧:

string isCurrent = "0";
于 2013-01-01T12:14:28.847 回答