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. Passing Data Between Pages

Passing Data Between Pages

Scheduled Pinned Locked Moved ASP.NET
5 Posts 5 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.
  • R Offline
    R Offline
    rhtbhegade
    wrote on last edited by
    #1

    Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...

    Sharing Of Knowledge Provides Solution....

    C A A J 4 Replies Last reply
    0
    • R rhtbhegade

      Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...

      Sharing Of Knowledge Provides Solution....

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

      You can pass values on the URL, or place them in the session. You can also make all your 'pages' controls on the one page and let the values persist in viewstate.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • R rhtbhegade

        Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...

        Sharing Of Knowledge Provides Solution....

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        Put in the querystring or HiddenField to pass data during submit. The choice depends on how you call the page (GET / POST) ;)

        Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


        My Latest Articles-->** Simplify Code Using NDepend
        Basics of Bing Search API using .NET
        Microsoft Bing MAP using Javascript

        1 Reply Last reply
        0
        • R rhtbhegade

          Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...

          Sharing Of Knowledge Provides Solution....

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          rhtbhegade wrote:

          however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx....

          As suggesed by others, You can store the data inside Session Variable and can access any where from your application.

          Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.

          1 Reply Last reply
          0
          • R rhtbhegade

            Hi Experts, I want to pass the data from first.aspx page to Third.aspx.....however my sequence is first.aspx then on button click second.aspx and then navigates to Third.aspx.... I KNOW ONLY THE PREVIOUS PAGE PROPERTY...

            Sharing Of Knowledge Provides Solution....

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

            I found this excellent article in the Code Project a little while ago. This explains all the above methods and more. Beginners Introduction to State Management Techniques in ASP.NET[^]

            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