Results 1 to 2 of 2

Thread: custom ASP.NET Paging

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2005
    Posts
    9

    custom ASP.NET Paging

    Hello friends, how ru all, i'm working on a web site where paging is required i done ASP.NET DataGrid Paging but there are too many data records in my database so i want to use custom paging but i can't understand how can i do it so pls if anyone done custom paging pls tell me how it could be done.
    Thanks
    Bye

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: custom ASP.NET Paging

    There are shed-loads of articles if you search on Google e.g. http://www.dotnetjunkies.com/Tutoria...B871F967F.dcik

    The basic idea is that Basic Paging in ASP.NET returns all records from the datasource and then only displays the ones you want. Obviously if you have a large amount of data coming from the database it isn't very efficient. So custom paging allows you to only return the records required from the datasource. Generally this means you need to change you Data Access Layer to only return a "Page" rather than everything.

    Give a shout if you have any problems.

    DJ

    If I have been helpful please rate my post. If I haven't tell me!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width