locked
Entity framewrok and Paging RRS feed

  • Question

  • Hi All

     

    How could I implement paging under entity framework?

     

    For example, I have 100 records and would like to divide into ten pages under the web browser?

    How could I do it under the entity framework?

     

    Thanks.

     

    Regards

    Alex

    Thursday, May 8, 2008 12:18 PM

Answers

  • With the upcoming beta, you will be able to use the EntityDataSourceControl with asp.net web pages.  Using the EDSC, it's quite straightforward to bind it to something like the grid control and then just check a box to turn on paging which will automatically generate the queries necessary to page through the data.

     

    - Danny

     

    Thursday, May 8, 2008 2:10 PM

All replies

  • You asked the same question here. Were the responses you got not sufficient?
    Thursday, May 8, 2008 1:07 PM
    Answerer
  • With the upcoming beta, you will be able to use the EntityDataSourceControl with asp.net web pages.  Using the EDSC, it's quite straightforward to bind it to something like the grid control and then just check a box to turn on paging which will automatically generate the queries necessary to page through the data.

     

    - Danny

     

    Thursday, May 8, 2008 2:10 PM