How to implement paging for datagrid using LINQ to Entities in wpf?

Posted by Levelbit on Stack Overflow See other posts from Stack Overflow or by Levelbit
Published on 2010-03-22T17:29:23Z Indexed on 2010/03/22 17:31 UTC
Read the original article Hit count: 1056

Filed under:
|
|

I'm new in wpf. My main problem is to understand how DataGrid works with its datacontext. It would help me a lot because I don't know how to make a universal paging usercontrol for all my datagrids in the projects for different database tables. DataGrid converts received DataContext from object to some kind of list. How it is implemented. I tried to do some casting from object to IQueryable to generalize thinig because base class of every entity in the entity model is EntityObject class. But it doesen't work in runtime although I don't receive complains at design time.

© Stack Overflow or respective owner

Related posts about wpfdatagrid

Related posts about wpf