Server Error in '/' Application.

Index -10 is either negative or above rows count.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Index -10 is either negative or above rows count.

Source Error:

Line 273:
Line 274:            repe1.DataSource = Pager1.DataSource;
Line 275:            repe1.DataBind();
Line 276:            //if (_NewsStyle == 1)
Line 277:            //{

Source File: d:\wwwroot\djydermyy-new\Inc\Control\文章.ascx.cs    Line: 275

Stack Trace:

[IndexOutOfRangeException: Index -10 is either negative or above rows count.]
   System.Data.DataView.GetRow(Int32 index) +6310623
   System.Data.DataView.System.Collections.IList.get_Item(Int32 recordIndex) +16
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +529
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +167
   Inc_Control_文章.Page_Load(Object sender, EventArgs e) in d:\wwwroot\djydermyy-new\Inc\Control\文章.ascx.cs:275
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1040