Results 1 to 2 of 2

Thread: display a certain range of records

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2004
    Posts
    169

    display a certain range of records

    in asp.net web app.
    How should I write code/sql query to extract from the 22nd records to 53rd records from a table ? 22nd and 53rd would be parameters and I don't want to rely on id field in the table because ID can have random gaps between records.

    I hope the sub range of records would be populated to a data reader or some thing so that I could use dr("table_field_name") to retrieve it later.


    thanks for your help!

  2. #2
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Re: display a certain range of records

    Select you data into a temp table with it's own autonum id. then select from that table.
    Magiaus

    If I helped give me some points.

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