View Single Post
Old 09-14-2004, 11:47 PM   #31 (permalink)
Ashish
Inactive
 
Ashish's Avatar
 
Join Date: 07-07-04
Posts: 145
iTrader: 0 / 0%
Latest Blog:
None

Ashish is a jewel in the roughAshish is a jewel in the roughAshish is a jewel in the roughAshish is a jewel in the roughAshish is a jewel in the roughAshish is a jewel in the rough
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
Ashish is offline   Reply With Quote