PC Review


Reply
Thread Tools Rate Thread

Dataadapter vs tableadapater

 
 
John
Guest
Posts: n/a
 
      8th Jul 2009
Hi

What is the difference between dataadapter vs tableadpater? When is one
preferred over other?

Many Thanks

Regards


 
Reply With Quote
 
 
 
 
Cor Ligthert[MVP]
Guest
Posts: n/a
 
      8th Jul 2009
The dataAdapter is the base for the tableAdapter.

The tableAdapter is not a real Net class, it is generated using the
DataAdapter.

You are free to use both of them, there is no advantage in speed or
whatever, some like the way the Table Adapter works other the DataAdapter.

It is like the my namespace in VB which also some persons like and other
dislike.

Cor

"John" <(E-Mail Removed)> wrote in message
news:%23q1oA07$(E-Mail Removed)...
> Hi
>
> What is the difference between dataadapter vs tableadpater? When is one
> preferred over other?
>
> Many Thanks
>
> Regards
>


 
Reply With Quote
 
Gregory A. Beamer
Guest
Posts: n/a
 
      8th Jul 2009
"John" <(E-Mail Removed)> wrote in news:#q1oA07$JHA.4984
@TK2MSFTNGP05.phx.gbl:

> Hi
>
> What is the difference between dataadapter vs tableadpater? When is one
> preferred over other?


Cor has mentioned some of this, so check out his post, as well.

DataAdapter is the actual Framework class. TableAdapters are generated from
code you drag and drop onto a DataSet (or otherwise manipulate by adding
them from the palette or right click menu).

In general, the DataAdapter is preferred if you are coding yourself. You
will make a custom class that acts like a TableAdapter that inherits from
DataAdapter. TableAdapters are preferred when you drag and drop on a
DataSet.


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
difference between dataAdapter.InsertCommand/dataAdapter.SelectCom =?Utf-8?B?UmljaA==?= Microsoft VB .NET 3 10th Nov 2006 03:34 PM
How to pass TableAdapater as parameter ad Microsoft ADO .NET 2 22nd Apr 2006 07:59 PM
Re: DataAdapter Dmytro Lapshyn [MVP] Microsoft Dot NET Framework Forms 0 17th May 2005 02:39 PM
DataAdapter =?Utf-8?B?Sko=?= Microsoft C# .NET 5 28th Apr 2005 07:37 AM
dataAdapter =?Utf-8?B?bWlrZQ==?= Microsoft VB .NET 1 9th Mar 2004 07:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:31 AM.