ASP MVC LINQ to SQL IQueryable Array out of bounds?
- by Jacob Huggart
Hey guys,
I have an Iqueryable that is populated from the database and then converted to an Array.
That works fine.
The issue is when I only have 1 element in the Array. I try to use the 0th element and it says "ArrayOutOfBoundsException". When I have 2+ elements in the array and pull elements 0 and 1 it works fine.
What gives?