Where Are We

In this appendix, I have given you a high-speed introduction to data access with ADO.NET, both for relational data and for XML data. You learned about the various capabilities of the DataSet class for containing relational data, which lets you retrieve data into the data set, make modifications to the data, and save that data back to a data source. The data set is the richest relational object for containing and manipulating data in the client, and it supports the widest range of data-binding scenarios. You saw how to get data into a custom object collection with which you could bind Windows Forms controls, and some of the different ways of interacting with both the client-side data and with the data sources from which you obtain data. The appendix stepped through some basics of dealing with data in XML form, and it showed how to load data into a document, work with that data as both hierarchical and relational data with an XmlDataDocument, and navigate and query the data using th^(PathNavigator class.

Data access is a deep and important topic that is covered in much more detail by a number of other books. The intent of this appendix was simply to provide you enough information to be able to get data into your client applications for prototyping and to understand where the data was coming from for the chapters in this book dealing with manipulating and presenting that data in Wndows Forms applications. By now your head is probably spinning if you haven't been exposed to data access in .NET before. If you have, then hopefully this provided a good refresher and reference for the basics while you are working with the rest of the book.



0 0

Post a comment