Server Error in '/' Application.

Value cannot be null.
Parameter name: source

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.ArgumentNullException: Value cannot be null.
Parameter name: source

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:


[ArgumentNullException: Value cannot be null.
Parameter name: source]
   System.Linq.Enumerable.Count(IEnumerable`1 source) +351
   south_african_escorts.gallery.escorts_cape_town.loadProvince() in C:\Users\user.LAPTOP-LK5LQTLI\source\repos\south-african-escorts.co.za_10Feb\south-african-escorts\gallery\escorts_cape_town.aspx.cs:84
   south_african_escorts.gallery.escorts_cape_town.DataPager1_PreRender(Object sender, EventArgs e) in C:\Users\user.LAPTOP-LK5LQTLI\source\repos\south-african-escorts.co.za_10Feb\south-african-escorts\gallery\escorts_cape_town.aspx.cs:107
   System.Web.UI.Control.OnPreRender(EventArgs e) +11906436
   System.Web.UI.Control.PreRenderRecursiveInternal() +162
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6875


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