Hi Cor,
Sorry I missed this, I forgot to watch the thread and lost it :-( woops!
I was *very* busy yesterday doing web stuff!
Remember that when you develope with vb.net for a webform the load.page is
every times fired that there is an user event that has a postback (every
webbutton while with some other controls you have to set that to true).
No data is perstist you can keep it only in a "session" that is in the
asp.net or in a "viewstate" that is hidden on the page and in every
webcontrol.
To hold much data in a "session" is not adviced.
Thanks Cor, I am understanding this a little more now thanks to your
answer and another from the ASP group. I was thinking it was me doing
something wrong to start with but it is all making sence now.
\\\\
Private sub load page....... etc
End sub
Private sub button_click............
me.label1.text = "Patterman"
End sub
////
Yup, this was the thing I was experiencing, I have it sorted now, I
simply moved the code from the load event to the init event. And ummm...
"Patterman"? Going to digress a little?
but this kind of questions are in my opinion VB.language not ASP.NET.
Excellent, there are only 2 reasons I am doing anything at all with
ASP.NET, first one is I want to sell my own software from home and believe
that it could be done unbelievable simply with a web application and
secondly I need to cover the basic aspects for exam 70-306*.
Thanks again Cor.
Nick.
*70-306, supposed to be about devloping Windows applications using VB.NET,
the example questions that I have seen mainly stem around SQL and database
scenarios, well sorry but hardly any Windows based software uses databases,
more so in a business environment, but about 90% of Windows software is used
by home users anyway. I even saw a question that asked what you needed to
do to digitally sign an application, can you believe what the answers were?
(something like)
1. Create a certificate using makecert.exe
2. Purchase a developers certificate from a certificate authority
Why the bunch of money sponging bar stewards!!
--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."
Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\