<asp:DataList ID="dlGY" runat="server">
<ItemTemplate>
<table align="center" cellpadding="0" cellspacing="0" width="266">
<tr>
<td>
<span class="hong" style="color: #000000">·
<a class="huise" href="#" onClick="window.open('ShowLeaguerInfo.aspx?id=
<%#DataBinder.Eval(Container.DataItem,"id") %>','','height=258, width=479, top=200, left=200')"
><%#DataBinder.Eval(Container.DataItem,"title") %></a></span></td>
</tr>
<tr style="color: #000000">
<td>
<img height="1" src="images/line.gif" width="266" /></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
转载于:https://www.cnblogs.com/lichfury/p/3560984.html