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. object passing from one page to othert

object passing from one page to othert

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
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.
  • S Offline
    S Offline
    sowmya k
    wrote on last edited by
    #1

    I want to pass a instance of object1 from page1 to the page2. And set the object properties from page 2 and again send that object from page 2 to page 1. I tried with session. unable to access the object in page 2. CAN ANYONE TELL ME... How to pass an instance of object from one page to other?

    modified on Thursday, September 18, 2008 1:57 AM

    A B 2 Replies Last reply
    0
    • S sowmya k

      I want to pass a instance of object1 from page1 to the page2. And set the object properties from page 2 and again send that object from page 2 to page 1. I tried with session. unable to access the object in page 2. CAN ANYONE TELL ME... How to pass an instance of object from one page to other?

      modified on Thursday, September 18, 2008 1:57 AM

      A Offline
      A Offline
      ashok techxygen
      wrote on last edited by
      #2

      can u use querystring to pass values. or try to declare the objects in seperate .cs(class) file and access that objects in all pages

      Ashok

      S 1 Reply Last reply
      0
      • A ashok techxygen

        can u use querystring to pass values. or try to declare the objects in seperate .cs(class) file and access that objects in all pages

        Ashok

        S Offline
        S Offline
        sowmya k
        wrote on last edited by
        #3

        yup I got it by using sessions . thank you

        1 Reply Last reply
        0
        • S sowmya k

          I want to pass a instance of object1 from page1 to the page2. And set the object properties from page 2 and again send that object from page 2 to page 1. I tried with session. unable to access the object in page 2. CAN ANYONE TELL ME... How to pass an instance of object from one page to other?

          modified on Thursday, September 18, 2008 1:57 AM

          B Offline
          B Offline
          balaji t
          wrote on last edited by
          #4

          hi, u keep it on session then explicity typecast the object as session in second page on right side u can access the object

          T.Balaji

          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