0
Output is showing like: (Only the employee IDs are showing)

1001110012100141001510016;

代码

编辑器模板(位置视图\Shared\EditorTemplate\Employee.cshtml

@model MultiRowDEL.Models.Employee
   <tr>
    <td>
        <input type="checkbox" name="empIdsToDel" id="empIdsToDel" value="@Model.EmployeeID" />
    </td>
    <td>
        @Model.Name
    </td>
    <td>
        @Model.Gender
    </td>
    <td>
        @Model.City 
    </td>
</tr>
4

1 回答 1

0

看起来它没有找到模板。该文件夹应为 EditorTemplates(末尾带有 s)

于 2015-12-28T16:40:39.603 回答