In this chapter, you learned about ADO.NET object events and how to handle them. Events are useful to notify an action taken by an object. The Connection object has two InfoMessage and StateChange events. The DataAdapter provides FillError, UpdateChanging, and UpdateChanged events. The DataSet has only one event—MergeFailed. The DataTable provides events raises during column and row changes and row deletions. XmlDataDocument provides events relating to adding, changing, and removing XML document nodes. The DataView and DataViewManager define the ListChanged event, which occurs when a row is added to or deleted from a DataView or from a DataViewManager.
After finishing this chapter, you should have a good idea of the events model of ADO.NET components and how to handle events in your applications.
In next chapter, you'll see how XML is tied to ADO.NET and how you can take advantage of the ADO.NET model to read to and write data from XML documents.