Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm using mostly typed datasets, but I just tried to create a manual DataAdapter and I can't find it.

 

I looked it up in the help file/MSDN and it doesn't give the namespace for it.

 

The dataset is in a totally different namespace than I'm 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.

Posted

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 couldn't 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 don't 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 they're only inheriting System.ComponentModel.Component, which isn't of much use in what I was attempting.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...