引用:
     <asp:GridView ID="viewItem" Width="700px"
            DataSourceID="myItem" 
            runat="server"           
            OnPageIndexChanged="PageChange"                          
           > </asp:GridView>代码: protected void PageChange(object obj, GridViewPageEventArgs e)
    {
        this.viewItem.DataBind();
        GridViewRow bottomPagerRow = this.viewItem.BottomPagerRow;  //想在分页后出现一个标签
        Label bottomLabel = new Label();
        bottomLabel.Text = (this.viewItem.PageIndex + 1) + "/" + this.viewItem.PageCount;
        bottomPagerRow.Cells[0].Controls.Add(bottomLabel);       
    }但运行时总会提示:"PageChange“的重载均与委托“System.EventHandler”不匹配,请问高手这是为什么???