Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Not displaying all records on webpage?

Not displaying all records on webpage?

Scheduled Pinned Locked Moved ASP.NET
databasequestionannouncement
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AdamskiR
    wrote on last edited by
    #1

    Hi I have a news area on our site which on the main page has the top 10 latest news items. There is also a second page for a new archive which at present displays all the news items ever. What I want is on the archive page, it to strip off the top 10 news items so it only displays the previous ones from there on.:confused: The items are coming from a sql database. Thanks Adam :)

    P K 2 Replies Last reply
    0
    • A AdamskiR

      Hi I have a news area on our site which on the main page has the top 10 latest news items. There is also a second page for a new archive which at present displays all the news items ever. What I want is on the archive page, it to strip off the top 10 news items so it only displays the previous ones from there on.:confused: The items are coming from a sql database. Thanks Adam :)

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      Make the change in your sql statement?

      1 Reply Last reply
      0
      • A AdamskiR

        Hi I have a news area on our site which on the main page has the top 10 latest news items. There is also a second page for a new archive which at present displays all the news items ever. What I want is on the archive page, it to strip off the top 10 news items so it only displays the previous ones from there on.:confused: The items are coming from a sql database. Thanks Adam :)

        K Offline
        K Offline
        Kschuler
        wrote on last edited by
        #3

        Order them by date and remove the first (or last) ten records before displaying.

        A 1 Reply Last reply
        0
        • K Kschuler

          Order them by date and remove the first (or last) ten records before displaying.

          A Offline
          A Offline
          AdamskiR
          wrote on last edited by
          #4

          Its how I put this process into practice I didnt know how to do though... Ive sorted it by doing a for loop in the code now. Thanks

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups