<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<aspataList id="DataList1" runat="server" BorderStyle="None" CellPadding="0" GridLines="Both" BorderWidth="1px" RepeatColumns="2"
Font-Size="X-Small" Height="100px" Width="432px" RepeatDirection="Horizontal">
<SeparatorStyle BackColor="#99CCCC"></SeparatorStyle>
<ItemStyle Font-Size="X-Small"
ForeColor="Black" BackColor="White"></ItemStyle>
<ItemTemplate>
<FONT face="宋体">
<blockquote>
<%-- <table>
<tr>
<td> 姓名:<%# DataBinder.Eval(Container.DataItem,"a") %></td><td>编号:<%# DataBinder.Eval(Container.DataItem, "b")%></td>
</tr> </table>--%>
<table>
<tr>
<td><%# DataBinder.Eval(Container.DataItem, "a") %></td>
<td><%# DataBinder.Eval(Container.DataItem, "b") %></td>
</tr>
</table>
</blockquote>
<blockquote>
</blockquote>
</FONT>
</ItemTemplate>
<HeaderStyle BackColor="#E0E0E0">
</HeaderStyle>
</aspataList>
</div>
</form>
</body>
</html>绑定的数据我想用table表格 但是现实出来的并没有 table请高手指点下
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<aspataList id="DataList1" runat="server" BorderStyle="None" CellPadding="0" GridLines="Both" BorderWidth="1px" RepeatColumns="2"
Font-Size="X-Small" Height="100px" Width="432px" RepeatDirection="Horizontal">
<SeparatorStyle BackColor="#99CCCC"></SeparatorStyle>
<ItemStyle Font-Size="X-Small"
ForeColor="Black" BackColor="White"></ItemStyle>
<ItemTemplate>
<FONT face="宋体">
<blockquote>
<%-- <table>
<tr>
<td> 姓名:<%# DataBinder.Eval(Container.DataItem,"a") %></td><td>编号:<%# DataBinder.Eval(Container.DataItem, "b")%></td>
</tr> </table>--%>
<table>
<tr>
<td><%# DataBinder.Eval(Container.DataItem, "a") %></td>
<td><%# DataBinder.Eval(Container.DataItem, "b") %></td>
</tr>
</table>
</blockquote>
<blockquote>
</blockquote>
</FONT>
</ItemTemplate>
<HeaderStyle BackColor="#E0E0E0">
</HeaderStyle>
</aspataList>
</div>
</form>
</body>
</html>绑定的数据我想用table表格 但是现实出来的并没有 table请高手指点下
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货