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. Array in VB.Net

Array in VB.Net

Scheduled Pinned Locked Moved ASP.NET
questioncsharpdata-structureshelp
4 Posts 2 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.
  • M Offline
    M Offline
    Mei Yoong
    wrote on last edited by
    #1

    I have two buttons event in my vb.net code. I wish to pass a array from one button1.click event to button2.click event. How can i pass the array value? I tried calling the array but the valus turns out to be zero when it was passed from one procedure to another. Please help. Thank you.

    T 1 Reply Last reply
    0
    • M Mei Yoong

      I have two buttons event in my vb.net code. I wish to pass a array from one button1.click event to button2.click event. How can i pass the array value? I tried calling the array but the valus turns out to be zero when it was passed from one procedure to another. Please help. Thank you.

      T Offline
      T Offline
      thomas_joyee
      wrote on last edited by
      #2

      Use session variables to pass array across the events

      Thomas

      M 1 Reply Last reply
      0
      • T thomas_joyee

        Use session variables to pass array across the events

        Thomas

        M Offline
        M Offline
        Mei Yoong
        wrote on last edited by
        #3

        Can you show me how to use session variable to pass the array? The session variable will pass the array address or will session each elements in the array? Thanks in advance

        T 1 Reply Last reply
        0
        • M Mei Yoong

          Can you show me how to use session variable to pass the array? The session variable will pass the array address or will session each elements in the array? Thanks in advance

          T Offline
          T Offline
          thomas_joyee
          wrote on last edited by
          #4

          Dim arr() As Object Session("arr") = arr

          Thomas

          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