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. session variable

session variable

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
3 Posts 2 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.
  • K Offline
    K Offline
    kuwl_mark
    wrote on last edited by
    #1

    I whant to redirect the all values of listbox from one page to another will u pls explain the thing alog with demo code in ASP.Net(vb) pls this is urgent

    L 1 Reply Last reply
    0
    • K kuwl_mark

      I whant to redirect the all values of listbox from one page to another will u pls explain the thing alog with demo code in ASP.Net(vb) pls this is urgent

      L Offline
      L Offline
      Lexa1983
      wrote on last edited by
      #2

      If you want to go in session way, it's very simple. Store items collection in session object: Session["MyKey"] = MyList.Items; And on another page retrieve them from session: ListItemCollection items = Session["MyKey"]; After that you can go thought collection of the items again and retrieve values...

      K 1 Reply Last reply
      0
      • L Lexa1983

        If you want to go in session way, it's very simple. Store items collection in session object: Session["MyKey"] = MyList.Items; And on another page retrieve them from session: ListItemCollection items = Session["MyKey"]; After that you can go thought collection of the items again and retrieve values...

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

        I don't understand I want to create session of entirelistbox as well as items in repeaters so pls give the brif code for demonstration

        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