The DataAdapter Classes

Team-Fly team-fly    

 
ADO.NET Programming in Visual Basic .NET
By Steve  Holzner, Bob  Howell

Table of Contents
Chapter 6.   ADO .NET DataAdapters


Like the Connection classes, there are separate DataAdapter classes for the OleDbClient and the SqlClient. We will be using the SqlClient versions for our demonstrations . All of what we learn applies to the OleDbClient versions as well except where noted. At the heart of the DataAdapter is the Command class. For you ADO veterans this is similar to the ADO Command object and has similar properties and methods. The big difference is that the ADO .NET Command class does not send its output to a RecordSet object. It uses another object, called a DataReader, to send a stream of data into a DataTable object, which usually resides inside a DataSet, although it does not have to. There are also separate methods for executing update queries that do not return data, such as Insert, Update, or Delete statements.


Team-Fly team-fly    
Top


ADO. NET Programming in Visual Basic. NET
ADO.NET Programming in Visual Basic .NET (2nd Edition)
ISBN: 0131018817
EAN: 2147483647
Year: 2005
Pages: 123

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net