Presenting ADO.NET: The Disconnected Layer
This chapter and its twin, Chapter 3A, cover ADO.NET. The classes in ADO.NET can be categorized into two groups: the connected layer and the disconnected layer. This chapter exclusively covers the disconnected layer. Simply put, you can use the disconnected layer if you don’t need to access any data source and really just want to work with temporary data, or data that is being read and written to XML streams or files. If you need to retrieve data from, insert data into, update data in, or delete data from a data source, you need to use the connected layer. However, most often you’ll be using classes from both layers, as you’ll see from this chapter and the following ones, and the corresponding example code.
KeywordsData Table Database Program Data View Data Adapter DataSet Class
Unable to display preview. Download preview PDF.