System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Collections.Generic.List`1.Add(T item) at System.Data.Linq.SqlClient.SqlConnectionManager.UseConnection(IConnectionUser user) at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) at System.Data.Linq.DataQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at NewsPaperDAL.DAL.UnApprovedManager.GetCountryNewsPaper(String countryName) in D:\Projects\NewsPaperLibrary\NewsPaperDAL\DAL\UnApprovedManager.cs:line 39 at NewsPaperLibrary.CountryNewspapers.BindRepeater() in D:\Projects\NewsPaperLibrary\NewsPaperLibrary\CountryNewspapers.aspx.cs:line 32 at NewsPaperLibrary.CountryNewspapers.PageLoad() in D:\Projects\NewsPaperLibrary\NewsPaperLibrary\CountryNewspapers.aspx.cs:line 25 at NewsPaperLibrary.Class.BasePage.Page_Load(Object sender, EventArgs e) in D:\Projects\NewsPaperLibrary\NewsPaperLibrary\App_Code\BasePage.cs:line 72 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)