Thomas
Thomas

Reputation: 34208

What is the main difference between TableAdapter and SqlDataAdapter

we often use SqlDataAdapter but i never use table adapter. is there any difference? please explain. thanks.

Upvotes: 1

Views: 3064

Answers (1)

Jon Skeet
Jon Skeet

Reputation: 1503469

From the TableAdapter overview:

Users of previous versions of Visual Studio can think of a TableAdapter as a DataAdapter with a built-in connection object and the ability to contain multiple queries. Each query added to a TableAdapter is exposed as a public method that is simply called like any other method or function on an object.

(The same page contains a lot more information which you may find useful.)

Upvotes: 2

Related Questions