关于DataList分页的问题,拜托帮我看看!!
页面代码:
<asp:DataList ID="DataList1" runat="server" Width="668px" CellSpacing="3" DataSourceID="SqlDataSource1" pagesize="3">
         <ItemTemplate>
             <div class="mainBox" style="width:660px; height:100px; border:solid 2px; border-color:Blue;">
                 <div class="leftBox" style="width:20%; height:100px; border-right:solid 2px; border-right-color:Blue; float:left; text-align:center;">
                     <asp:Image ID="Image1" runat="server" Width="78px" Height="80px" Text='<%# Eval("facing","~/images/.jpg") %>' /><br />
                     <asp:Label ID="nameLabel" runat="server" Text='<%# Eval("name") %>'></asp:Label>
                 </div>
                 <div class="rightBox" style=" height:100px; float:left;">
                 标题:
                     <asp:Label ID="titleLabel" runat="server" Text='<%# Eval("title") %>'></asp:Label><br />
                     <asp:Label ID="wdateLabel" runat="server" Text='<%# Eval("wdate") %>'></asp:Label><br />
                     <asp:Label ID="messageLabel" runat="server" Text='<%# Eval("message") %>'></asp:Label><br />
                 回复:
                     <asp:Label ID="re_messageLabel" runat="server" Text='<%# Eval("re_message") %>'></asp:Label><br />
                 </div>
             </div>
         </ItemTemplate>
         <FooterTemplate>
             <table width="660px">
                 <tr>
                     <td style="width:120px;" align="center">
                         <asp:Label ID="lblCurPage" runat="server" Text="Label"></asp:Label>
                     </td>
                     <td style="width:540px;">
                         <asp:HyperLink ID="lnkFirst" runat="server">第一页</asp:HyperLink>
                         <asp:HyperLink ID="lnkPrev" runat="server">上一页</asp:HyperLink>
                         <asp:HyperLink ID="lnkNext" runat="server">下一页</asp:HyperLink>
                         <asp:HyperLink ID="lnkLast" runat="server">最后一页</asp:HyperLink>
                      </td>
                 </tr>
             </table>
         </FooterTemplate>
     </asp:DataList>
     <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyDataBaseConnectionString %>" SelectCommand="SELECT [name], [title], [message], [wdate], [re_message] FROM [Message] ORDER BY [wdate] DESC"></asp:SqlDataSource>  
后台代码:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public partial class Login : System.Web.UI.P