Visual Studio/ASP.NET

  • Basic Event Handling - ASP.NET web pages, and most web pages for that matter, employ an EVENT-DRIVEN programming model. Two basic components of event-driven programming are:
    1. Event Detection: What was done.
    2. Event Handling: What to do about it.

Think about pressing a "Purchase" button on a web page. Button press is the event which is handled by possibly re-directing you to your shopping cart.

View code

View Video