Page_Load Subroutine

  • Thread starter Thread starter Redeem
  • Start date Start date
R

Redeem

is Page_Load Subroutine a system defined soubroutine
meaning it isn't user defined?

I assume any code I place under that routine name will
automatically load when web page is run is it ?

Redeem
 
Hi Redeem

It is every time that the page is loaded executed, so when you not place
something like
\\\
If not ispostback then
//
All is executed

I hope this helps a little bit.
Cor
 
Hi, as long as the Handles clause points the subroutine to the Load event:

Public Sub AnyNameForARoutine(...) Handles MyBase.Load
...
End Sub

The Handles MyBase.Load tells the compiler that this subroutine is executed
when the Load event occurs.

--
HTH,
-- Tom Spink, Über Geek

Please respond to the newsgroup,
so all can benefit

" System.Reflection Master "

==== Converting to 2002 ====
Remove inline declarations
 
Back
Top