Handler???

emvanlill

Member
Joined
Jun 25, 2003
Messages
10
Location
Ireland
Trying to work through a ASP.Net book I bought and Im struggeling with this concept. It is not explained in the book.
When using subroutines what is the use of example "Handler Button1.Click" Im getting error messages!!!
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handler Button1.Click

Most probably because I dont know what it is for. Could somebody explain please.

Thanks.
 
A typo I guess. Use Handles, not Handler. Its basically saying that the sub Button1_Click will handle or respond to the event Button1.Click.
 
Back
Top