Consider the following methods. I am getting exception as asked , while repeater binding.
Bindrepeater:
private void BindRepeater() { var idx =
You may want to persist your results as a collection, not an IQueryable.
IQueryable
var list = result.ToArray(); itemcount = list.Length; return list.Skip(skip).Take(10);
The above code may not be correct for paging. You likely will have to run the query twice.