View Single Post
Old 09-15-2004, 02:54 AM   #22
ashish
TopHosts Senior Member
 
Join Date: Jul 2004
Posts: 108
ashish will become famous soon enough
Default Re: Basic Information about ASP.NET

Hi all,

Just wanted to talk a bit about ASP.Net Event Handlers:

An event handler is basically a action that takes place after a event is triggered i.e. a piece of code of executed following some action triggered by the user.

For example: After clicking on the ‘Submit’ button on a web page, all the information in the various fields on that page are submitted back to the server. So, the event here is the clicking of the ‘Submit’ button and the action to that is submission of the information back to the user.

Another example could be, that a piece of code is executed every time a page is loaded.

As piece of code here could be to display the current time and date every time a page is loaded, you can easily do this by using the ‘Page_Load’ event handler of ASP.NET and then writing the relevant code in it

Any comments/suggestions/corrections welcome

Some information from www.411asp.net
__________________
Cheers,
Ashish
M6.Net - ASP Hosting, ASP.Net Hosting
ashish is offline   Reply With Quote