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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. maintain my data in the firt page in paging concept

maintain my data in the firt page in paging concept

Scheduled Pinned Locked Moved ASP.NET
database
5 Posts 3 Posters 1 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.
  • Y Offline
    Y Offline
    yardly
    wrote on last edited by
    #1

    maintain my first 10 data in the firt page when i click the next page then the first 10 datas r erased... i want to maintain all the datas and save it in the database

    J C 2 Replies Last reply
    0
    • Y yardly

      maintain my first 10 data in the firt page when i click the next page then the first 10 datas r erased... i want to maintain all the datas and save it in the database

      J Offline
      J Offline
      John ph
      wrote on last edited by
      #2

      First things First. Save the first page data in the database and move on to the next page. So that your first page data will be maintained in the database. you don't have to maintain in every page that you move on.

      - Regards -
         JON


      Life is not measured by the amount of breaths we take, but by the moments that take our breath away.


      modified on Wednesday, December 05, 2007 1:54:54 AM

      Y 1 Reply Last reply
      0
      • Y yardly

        maintain my first 10 data in the firt page when i click the next page then the first 10 datas r erased... i want to maintain all the datas and save it in the database

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        Sounds pretty straightforward and there are a number of controls that will do all of this for you. What have you tried ?

        Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        1 Reply Last reply
        0
        • J John ph

          First things First. Save the first page data in the database and move on to the next page. So that your first page data will be maintained in the database. you don't have to maintain in every page that you move on.

          - Regards -
             JON


          Life is not measured by the amount of breaths we take, but by the moments that take our breath away.


          modified on Wednesday, December 05, 2007 1:54:54 AM

          Y Offline
          Y Offline
          yardly
          wrote on last edited by
          #4

          wt i need s i should not save first 10 datas iam having 100 pages... my page index is 10 ... if i enter the 10 values then i have to move to next page and enter the next 10 datas.... if i have to change any data in the first page then i have to move to first page is it right.... but my first page datas r getting clear.

          J 1 Reply Last reply
          0
          • Y yardly

            wt i need s i should not save first 10 datas iam having 100 pages... my page index is 10 ... if i enter the 10 values then i have to move to next page and enter the next 10 datas.... if i have to change any data in the first page then i have to move to first page is it right.... but my first page datas r getting clear.

            J Offline
            J Offline
            John ph
            wrote on last edited by
            #5

            1. you can have a temporary table at the database end and save each page data in the temp table before you move on to the next page. Whenever you want to navigate through the saved data, fetch it from the temp table. Once the process is complete, move the data to whcichever table you want and delete the data from the temp table. (or) 2. You can store the data in a dataset and then save the dataset in a session Object before you move on to the next page. Now, You have the access to the first page data in any page through the session object.

            - Regards -
               JON


            Life is not measured by the amount of breaths we take, but by the moments that take our breath away.


            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