I am a learner of c#?

This is event handler in C#.You link the controls in aspx to event handlers using attributes.If you see in aspx page you will see OnClick=“Button1_Click”.This will link OnClick event of the button to the Button1_Click event handler in C#.

1 Like