How does this code work?
Posted on 2008-06-23
I've inherited this project and dont understand this section:.
1. In the aspx page, there's an event:
public event EventHandler AddressSaved;
2. User clicks Save button and there's:
3. There's a routine for OnAddressSaved(e);
protected virtual void OnAddressSaved(EventArgs e)
if (AddressSaved != null)
*** Now, I right click on AddressSaved(this,e) and choose "go to definition" to see where it actually saves and calls the database but it goes to the event handler.
So where is it actually saving??