Server Error in '/' Application.

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index] System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) +65 System.Collections.Generic.List`1.RemoveAt(Int32 index) +27 System.Data.RecordManager.NewRecordBase() +68 System.Data.DataTable.NewRecord(Int32 sourceRecord) +23 System.Data.DataRow.BeginEditInternal() +82 System.Data.DataRow.set_Item(DataColumn column, Object value) +239 System.Data.DataRow.set_Item(String columnName, Object value) +26 site.UC_Filters.GetAreaDT(Int32 _areaId) in D:\a\1\s\TovtodaNew\UC_Filters.ascx.cs:194 site.UC_Filters.Page_Load(Object sender, EventArgs e) in D:\a\1\s\TovtodaNew\UC_Filters.ascx.cs:63 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85 System.Web.UI.Control.OnLoad(EventArgs e) +79 System.Web.UI.Control.LoadRecursive() +130 System.Web.UI.Control.LoadRecursive() +200 System.Web.UI.Control.LoadRecursive() +200 System.Web.UI.Control.LoadRecursive() +200 System.Web.UI.Control.LoadRecursive() +200 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2852


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