using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.UI; using Microsoft.SharePoint.WebControls; namespace Taloyhtio.CustomFBADataSource { public class CustomGridView : SPGridView { protected override DataSourceSelectArguments CreateDataSourceSelectArguments() { int startRow = this.PageSize * this.PageIndex; return new DataSourceSelectArguments(this.SortExpression, startRow, this.PageSize); } } }