The Page_Load Subprogram
Subprograms are activated to perform their processing in several ways and one of the ways is to activate the subprogram every time the Web page is accessed, and prior to sending the page to the client who made the request. This particular subprogram has the required name Page_Load and it does not have a signature, although a pair of empty parentheses can be coded to indicate its absence: Page_Load().
The
Page_Load subprogram is not required unless there is processing to take
place every time the page opens and it might, for instance, decide to
display the current date on your page. In this case to retrieve the
system date from the server,the Page_Load subprogram would be an
appropriate place and place it in an output control on the page, prior
to sending the page to the browser.
No comments :
Post a Comment