Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi All ,

 

i have a trouble with unterstanding the global variable in ASP.Net.

 

How can i set a globale variable. (Property doesn*t work)

 

I must use different function wiht the same variable.

 

Maybe can post someone a exsample for me.

 

Thanks and best Regards Datahighway

  • 2 weeks later...
Posted

You can also create a module (I use Global as the name)

Then have something like this

 

Module Global

Friend intFunction as integer = 0

 

This will give you a global variable that can be changed.

 

Hope this helps

 

ZuBiE

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...