私はmvc2とmvccontribgridを使用しています
「改行は一定です」、「識別子が必要です」、「;excepeted」がコーディングであるためエラーが発生します
<table cellpadding="0" cellspacing="0" width="100%">
<% if (ViewData["CustomerInfoList"] !=null && ((List<SaasModel.CustomerInfo>)ViewData["CustomerInfoList"]).Count()>0)
{
%>
<tr>
<td>
<% Html.Grid((List<SaasModel.CustomerInfo>)ViewData["CustomerInfoList"]).Columns(
column=>
{
column.For(col=>col.CustomerName).Named("Name");
column.For(col=>col.CompanyName).Named("CompanyName");
column.For(col=>col.Description).Named("Description");
column.For(col=>col.CustomerRevenue).Named("CustomerRevenue");
column.For(col=>col.NoOfEmployees).Named("NoOfEmployees");
column.For(col=>col.Vertical).Named("Vertical");
column.For(col=>col.SaleExecutive).Named("SaleExecutive");
}).Attributes(id=>"datalist",@class=>"silicaGrid",cellspacing=>"1",cellpadding=>"0").Render();
%>
</td>
</tr>
<%}%>
</table>
このBlockquotes部分にエラーが表示されます。**<%** if (ViewData["CustomerInfoList"] !=null && ((List<SaasModel.CustomerInfo>)