I am a newbie to asp.net, can you please explain the line of code below?
this.lblDelete.Click += new System.EventHandler(this.lblDelete_Click);
I don't know much about events and delegates.
Essentially the code attaches an event handler to an event so that it can be, well... handled.
A simple way to understand it would be.
This event:
this.lblDelete.Click
Has this event handler attached:
+= new System.EventHandler
Which calls this method:
lblDelete_Click