what is Table Adapter?

4 views
Skip to first unread message

satheesh babu b

unread,
Oct 4, 2005, 7:36:39 AM10/4/05
to Techdot...@googlegroups.com

Question on ASP.Net 2.0...


what is Table Adapter?

 

Regards,
Satheesh



--
Best Regards,
Satheesh babu B,
ACES - ICT – Application Development
(ABN AMRO)
Mumbai
Telephone   : +91 22 56647914
Mobile        :  +91 9324412308
Email         : sathee...@in.abnamro.com
http://groups.google.com/group/TechdotNetIndia

Thread

unread,
Oct 5, 2005, 1:52:20 PM10/5/05
to .NetIndia
Hi Babu,

TableAdapters provide communication between your application and a
database. More specifically, a TableAdapter connects to a database,
executes queries or stored procedures, and either returns a new data
table populated with the returned data or fills an existing DataTable
with the returned data. TableAdapters are also used to send updated
data from your application back to the database.

IT is similiar to DataApapter of ASP.NET,with a built-in connection
object and the ability to contain multiple queries.
NorthwindDataSet northwindDataSet = new NorthwindDataSet();

NorthwindDataSetTableAdapters.CustomersTableAdapter
customersTableAdapter =
new NorthwindDataSetTableAdapters.CustomersTableAdapter();

customersTableAdapter.Fill(northwindDataSet.Customers);


You can read more on MSDN.com

Regards
Thread

BabuLives

unread,
Oct 6, 2005, 1:59:37 AM10/6/05
to .NetIndia
One more Thing i want to add to this discussion...it Can be reused over
multiple page..

Reply all
Reply to author
Forward
0 new messages