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. Data Transfer between Web pages.

Data Transfer between Web pages.

Scheduled Pinned Locked Moved ASP.NET
questionhelp
4 Posts 4 Posters 2 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.
  • I Offline
    I Offline
    imnotso
    wrote on last edited by
    #1

    I've got a data input page for an advert, the user will enter all the fields, then get another user to approve the input once checked. It will then appear as a new record on screen 2. Before approval though the user can hit preview, this will show them the finished advert but without approving it. If there is an error they can amend and preview again. So... Input Screen 1 Preview Screen 2 Final Approval Screen 3 How do I transfer the data from Screen 1 to Screen 2, use a Querystring? A Request["Data"] object? What's the best way, I don't need to store it nor return to it later, just copy the data from screen 1 to a new web browser screen2 (which will be read-only) Thanks

    E A N 3 Replies Last reply
    0
    • I imnotso

      I've got a data input page for an advert, the user will enter all the fields, then get another user to approve the input once checked. It will then appear as a new record on screen 2. Before approval though the user can hit preview, this will show them the finished advert but without approving it. If there is an error they can amend and preview again. So... Input Screen 1 Preview Screen 2 Final Approval Screen 3 How do I transfer the data from Screen 1 to Screen 2, use a Querystring? A Request["Data"] object? What's the best way, I don't need to store it nor return to it later, just copy the data from screen 1 to a new web browser screen2 (which will be read-only) Thanks

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      If you dont need to store if for later then yes query string is the best way

      We are not a Code Charity

      1 Reply Last reply
      0
      • I imnotso

        I've got a data input page for an advert, the user will enter all the fields, then get another user to approve the input once checked. It will then appear as a new record on screen 2. Before approval though the user can hit preview, this will show them the finished advert but without approving it. If there is an error they can amend and preview again. So... Input Screen 1 Preview Screen 2 Final Approval Screen 3 How do I transfer the data from Screen 1 to Screen 2, use a Querystring? A Request["Data"] object? What's the best way, I don't need to store it nor return to it later, just copy the data from screen 1 to a new web browser screen2 (which will be read-only) Thanks

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

        yes, as .netman suggest, if you dont need to store data then just use quesry string .

        Best Regards ----------------- Abhijit Jana Check Out My Latest Article Java.NET : Integration of Java and .NET[^] "Success is Journey it's not a destination"

        1 Reply Last reply
        0
        • I imnotso

          I've got a data input page for an advert, the user will enter all the fields, then get another user to approve the input once checked. It will then appear as a new record on screen 2. Before approval though the user can hit preview, this will show them the finished advert but without approving it. If there is an error they can amend and preview again. So... Input Screen 1 Preview Screen 2 Final Approval Screen 3 How do I transfer the data from Screen 1 to Screen 2, use a Querystring? A Request["Data"] object? What's the best way, I don't need to store it nor return to it later, just copy the data from screen 1 to a new web browser screen2 (which will be read-only) Thanks

          N Offline
          N Offline
          N a v a n e e t h
          wrote on last edited by
          #4

          If you have few input fields and the data entered in it is not sensitive, then query string would be good choice. If not, you can consider cross page post back method. Alternatively create a class with getters and setters (something like a java bean), assign all values and keep this classes instance in session which can be accessed from screen 2.

          All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions

          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