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. asp variable efficiency

asp variable efficiency

Scheduled Pinned Locked Moved ASP.NET
question
3 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.
  • C Offline
    C Offline
    Craigjw
    wrote on last edited by
    #1

    I'm pretty new to asp and was asked this question: Is it mroe efficient to declare variables in asp? Anyone able to shed a bit of light on the subject please

    R 1 Reply Last reply
    0
    • C Craigjw

      I'm pretty new to asp and was asked this question: Is it mroe efficient to declare variables in asp? Anyone able to shed a bit of light on the subject please

      R Offline
      R Offline
      RX Maverick
      wrote on last edited by
      #2

      How are you declaring them? Also I have a question to add, I want to declare (and set values to) a bunch of variables in a separate file. I use "Imports classname" and in the class I declare them using "Public Shared variable" and "variable = value". Anyone have a better idea/way?

      C 1 Reply Last reply
      0
      • R RX Maverick

        How are you declaring them? Also I have a question to add, I want to declare (and set values to) a bunch of variables in a separate file. I use "Imports classname" and in the class I declare them using "Public Shared variable" and "variable = value". Anyone have a better idea/way?

        C Offline
        C Offline
        Craigjw
        wrote on last edited by
        #3

        Problem is, this is comming from an exam question, so I do not know how they are being declared. Plus, I'm comming from a C++ environment and have never really used asp before now.

        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