大家看清楚这加重这四行代码就明白了o(∩_∩)o...
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="12title" ID="Table5">
<asp:repeater id="rptList1" runat="server">
<ItemTemplate>
<tr>
<td width="55%" valign="top" height="20">
·<a href='<%#((DataRowView)Container.DataItem)["newsurl"]%>'class="link14" target="_blank"><%#((DataRowView)Container.DataItem)["newsline"]%></a>
</td>
</ItemTemplate>
<AlternatingItemTemplate>
<td width="55%" valign="top" height="20">
·<a href='<%#((DataRowView)Container.DataItem)["newsurl"]%>'class="link14" target="_blank"><%#((DataRowView)Container.DataItem)["newsline"]%></a>
</td>
</tr>
</AlternatingItemTemplate>
</asp:repeater>
</table>
转载于:https://www.cnblogs.com/junyistar/archive/2007/06/26/796384.html