ASP.NET MVC动态加载数据,一般的做法是使用$.each方法来循环产生tabel:

你可以在html时先写下非动态的部分:
ASP.NET MVC动态加载数据

 

<table>
            <tr>
                <th style="width:10px;"><input id="SelectAll" type="checkbox" /></th>
                <th>ID</th>
                <th>Port_Start</th>
                <th>Port_End</th>                
            </tr>
            <tbody class="tbodyData"></tbody>
        </table>
Source Code

相关文章: