<%@ Page Language="C#" MasterPageFile="~/SPage.Master" AutoEventWireup="true" CodeBehind="SouNewsView.aspx.cs" Inherits="LoveWeb.SouNewsView" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<asp:Content ID="content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <title>搜索结果</title>
    <style type="text/css">

  
   .paginator { font: 11px Arial, Helvetica, sans-serif;padding:10px 20px
10px 0; margin: 0px;}
*{padding:0px;margin:0px;}
.paginator .cpb {padding: 1px 6px;font-weight: bold; font-size:
13px;border:none}
    </style>

    <br />
    <asp:Label ID="Label1" runat="server"></asp:Label>
<asp:DataList ID="DataList1" runat="server" style="text-align: left">
            <ItemTemplate>
                <table>
                    <tr>
                        <td id="left">
                    <a href="ThanksView.aspx?id=<%# Eval("newsid") %>"><%# GetPartString(Eval("title").ToString(),20)%>
</span></a>                        </td>
                        <td>
                           <span><%# Eval("newstime") %></span>                        </td>
                    </tr>
                </table>
        </ItemTemplate>
        </asp:DataList>
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="True" 
        FirstPageText="首页" LastPageText="尾页" NextPageText="后页" 
        onpagechanged="AspNetPager1_PageChanged" PrevPageText="前页" PageSize="5" 
        CssClass="paginator" CurrentPageButtonClass="cpb">
    </webdiyer:AspNetPager>
</asp:Content>