I'm new to asp.net, so please excuse my ignorance. I'd like to implement Grid.mvc but I'm stuck while passing IQueryable from entities DBset. I want IQueryable instead of IEnumerable because the table is big, I can't retrieve all rows each time.
This work when I dont use the Grid.mvc :
public class AddressController : Controller
private eveEntities db = new eveEntities();
public ActionResult Index()
return View(db.ADDRESS.Take(100).ToList() );
All test I've done so far failed with an exception
What should I put into Index() method to convert DBset to IQueryable ?
Also, what should be put into Index.cshtml ?
I've this right now :