Re: HELP!! new to asp.net!
1. Use Application variables very carefully, Once you set an application variables, its stays in the memory till the time you restart the server/iis. Its not exactly the same as a global variable which you probably have used in VB6. Perphaps you would need to read about maintaining sessions.
2. thats DHTML/javascript, get a good book or read on online tutorials. the folloowing sites have lots and lots of ready cut-paste codes:
www.hotscripts.com
www.javascript.com
www.dynamicdrive.com
Re: HELP!! new to asp.net!
hey johnny
thanks so much for the reply :)
I was wondering: is there any other way (other than the Application("..") method) to make "global" variables (like vb6)?
And the links are really good. thanks for that. I actually found something close to what I wanted (a horizontal slider). gt test it in my application tho :)
:D
Re: HELP!! new to asp.net!
Quote:
I was wondering: is there any other way (other than the Application("..") method) to make "global" variables (like vb6)?
Depends on what you are trying to achieve. If you tells us exactly what you have in mind, someone just would have a good idea how to deal with it.
Remember that ASP.NET application runs on the server where its hosted and the VB6 applications runs on the client machine!
Re: HELP!! new to asp.net!
hey john
i tried putting the code that I had before (Application("lbl")=lbl etc) in the Session_Start Function instead of the Application_Start Function, and it seems to work a lil better. I just want the variables to be accessed anytime the page is open, and to save components and values in arrays/integer variables. If i dont have "global" variables, everytime the page loads up, (anytime there's any change to teh page), all the values become their default which I dont want
thanks for all of your help again :)
Re: HELP!! new to asp.net!
hey,
I was wondering if anyone would know any good sites on using excel files/formats on asp.net?
thanks
Re: HELP!! new to asp.net!
You can use Session variable as
Session["name"]
Re: HELP!! new to asp.net!
Quote:
Originally Posted by phrajib
You can use Session variable as
Session["name"]
hey phrajib, thanks for the advice. i changed all my "Application" variables to Session variables, and it works perfectly. :D thanks again :)