0

我正在我的网络应用程序中组织一个表格。行是在代码中创建的。我建立:

<table id="idTab" runat="server" class="table table-bordered table-striped">
  <thead>
  <tr>
  <td>Campo 1</td>
  <td>Campo 2</td>
  </tr>
  </thead>
  <tbody>
  </tbody>
  <tfoot>
  <tr>
  <td>Campo 1</td>
  <td>Campo 2</td>
  </tr>
  </tfoot>
</table>

该项目是在 VB.net 中开发的。我需要通过<tbody>. 不幸的是,这不会发生。在编译页面的 tbody 标记中,tfoot、thead 消失,只剩下 tr。我怎么能离开他们?他们为表格模板加热它。

4

0 回答 0