原文发布时间为:2009-04-22 —— 来源于本人的百度文章 [由搬家工具导入]
<asp:Repeater ID="rpt" runat="server">
<HeaderTemplate>
<tr>
<td style="width: 12%">
字段名</td>
<td style="width: 23% ">
字段名</td>
<td style="width: 23% ">
字段名</td>
<td style="width: 12% ">
字段名</td>
<td style="width: 18% ">
字段名</td>
<td style="width: 12% ">
字段名</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<a onclick='openPage(<%#Eval("Id")%>)' target="_blank">
<tr style="cursor: pointer;" onmouseover="c=this.style.backgroundColor;this.style.backgroundColor='AliceBlue';"
onmouseout="this.style.backgroundColor=c;" title="点击打开网页">
<td style="width: 12%;">
<%#Eval("a")%>
</td>
<td style="width: 23%;">
<%#Eval("b")%>
</td>
<td style="width: 23%;">
<%#Eval("c")%>
</td>
<td style="width: 12%;">
<%#Eval("d")%>
</td>
<td style="width: 18%;">
<%# DateTime.Parse(Eval(" Date").ToString()).ToString("yyyy-MM-dd")%>
</td>
<td style="width: 12%;">
<%#Eval("e")%>
</td>
</tr>
</a>
</ItemTemplate>
</asp:Repeater>