<%@ Control Language="C#"  %>
 
<div class="ArticlesList">
  <h5>文章列表</h5>
  <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F3F3F3">
    <tr>
      <td width="50%"><strong>文章标题</strong></td>
      <td width="20%"><strong>作者</strong></td>
      <td width="30%" ><strong>添加日期</strong></td>
    </tr>
  </table>
  <asp:DataList ID="DataListArticleList" runat="server" RepeatColumns="1" Width="100%" BorderWidth="0" BackColor="#F3F3F3" CellPadding="0">
    <ItemTemplate>
      <table width="100%" border="0" cellpadding="0" cellspacing="1" >
        <tr>
          <td width="50%" bgcolor="#FFFFFF"><a href='ArticleDetail.aspx?guid=<%# DataBinder.Eval(Container.DataItem,"guid") %>'   target="_blank">
            <%# Eval("Title")%></a></td>
          <td width="20%" bgcolor="#FFFFFF"><%# Eval("Publisher")%></td>
          <td width="30%" bgcolor="#FFFFFF"><%# Eval("CreateTime")%></td>
        </tr>
      </table>
    </ItemTemplate>
  </asp:DataList>
</div>
<!-- 分页部分-->
    <div class="pager" >
<asp:Label ID="LabelPageMessage" runat="server"></asp:Label>

&nbsp;<asp:HyperLink ID="lnkFirst" runat="server"><span class="fpager">[ 首页</span></asp:HyperLink>
<asp:HyperLink ID="lnkPrev" runat="server"><span class="fpager">| 上一页</span></asp:HyperLink>
<asp:HyperLink ID="lnkNext" runat="server"><span class="fpager">| 下一页</span></asp:HyperLink>
<asp:HyperLink ID="lnkLast" runat="server"><span class="fpager">| 末页 ]</span></asp:HyperLink>
&nbsp;<span class="fpager">转到 <asp:Literal ID="lnkTo" runat="server" /> 页</span>

</div>  