I am creating a web custom control in asp.net using c#.net
I am not able to understand the following code, I mean why is it used?
The code is as follows:-
protected override CreateChildControls()
//Code for Creation and addition of certain server controls.
/*Now associating the click event of the SubmitButtoncontrol with the event handler, SubmitButton_Click (I need to know why are we doing this and what for are we using '+=' ?)*/
SubmitButton.Click += new System.EventHandler (this.SubmitButton_Click)
Please let me know if the question is'nt presented clearly...
Looking forward for a response soon...
0 · ·