[2005 B2] Anyone know where the DataAdapter is hidden?

Denaes

Well-known member
Joined
Jun 10, 2003
Messages
956
Im using mostly typed datasets, but I just tried to create a manual DataAdapter and I cant find it.

I looked it up in the help file/MSDN and it doesnt give the namespace for it.

The dataset is in a totally different namespace than Im used to as well.

I searched for a while on google, but everyone is talking about VS2005 doing things for you and not how to do things yourself.
 
Wow, I should have listened to my subconcious.

The entire time I was searching for a TableAdapter (when you add a table to the form, a typed TableAdapter is added), and couldnt find it, but somehow said DataAdaptor all throughout the post.

Well the TableAdapter makes use of the DataAdapter - plus a lot of nice code so you dont have to do anything manually with that adapter.

Data.SQLClient.SQLDataAdapter is what I was looking for... kind of.

I was hoping these TableAdapters were directly inheriting a base class in common, but theyre only inheriting System.ComponentModel.Component, which isnt of much use in what I was attempting.
 
Back
Top