Having written the book, perhaps I should elaborate further.
A DataAdapter is a Framework class used to construct untyped DataSet objects
by populating the Tables collection with the rowsets returned by the
SelectCommand. This class also supports an Update method that permits you to
define Update, Insert and Delete Commands for a single table. While the
DataAdapter can populate a DataSet with many tables, it can only make
changes to one of these--unless you jump through some hoops as I explain in
the book.
A TableAdapter is a Visual Studio-generated class to generate strongly typed
DataTable classes--including code to update the DataTable. It is a bindable
mechanism to manage a single rowset--usually derived from a SELECT against a
single table.
While both of these mechanisms can be populated with the rowset returned by
a JOIN, they do not provide a means to update the root database Table--as
possible in some cases in ADO classic.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant, Dad, Grandpa
Microsoft MVP
INETA Speaker
www.betav.com
www.betav.com/blog/billva
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit
www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
<(E-Mail Removed)> wrote in message
news:82384dc5-a15d-4ab9-8e29-(E-Mail Removed)...
>I have a book called "Hitchhiker's Guide to Visual Studio and SQL
> Server". It has a chapter on using dataAdapters, and another chapter
> on using tableAdapters. The problem is, they seem to overlap in what
> they can do, and I don't know when I would use one and when I would
> use the other? Furthermore VB 2003 seemed to use one, and VB 2005
> seems to use the other mostly (at least when you drag and drop).
> If I just want to learn the latest method of using VB-2005 with
> databases, should I learn both adapters? Or just the Table Adapter?
> And how would I know, in a given application, which one to choose?
> Thanks,
> HA