Page Load Agruments

M

Marina

They wouldn't be useful in this example.

In general, sender is the object that caused the event, and e is an
EventArgs (or one of its descendents) object which contains information
relevant to the event. So for mouse events, it would contain cursor
location, for example.
 
K

Karl

They aren't. They might be used internally by ASP.Net, but they are of no
use to you. object is the instance of your page, so you can just use "this"
to get the same result. No arguments are passed into e. The Page's Load
event is an EventHandler, which is why those parameters are there, but
whether they are internally used or not, I don't know.

Karl
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top