<asp:Table ID="TableYaoPingInfo" runat="server" CellPadding="3" CellSpacing="0" BorderWidth="1" Visible="true" Width="800">
    <asp:TableRow  class="titletdbg">
        <asp:TableCell BorderWidth="1" Width="10%"  class="titletdbg">
           序号
        </asp:TableCell>
   </asp:TableRow> 
  </asp:Table> 这是代码。。我是想把从数据库中取出来的数据DataTable 中有id,和name。 把name变成列 显示出来。
DataTable 里面的数据部固定有几行