By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,757 Members | 1,990 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,757 IT Pros & Developers. It's quick & easy.

data adapter

P: n/a
Hey all,

I was just wondering why in some examples in loading a
dataset I see the data adapter object and then in others
I don't see the data adapter object.

Thanks,
Rodney
Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Not sure which you are referring to. The DataAdapter is the primary way to
fill a Dataset/DataTable. Granted you can created Datatable or Dataset
programatically and populate them as such, but if you are getting the data
from a Database, and you using Disconnected mode (ie DataSet/DataTable vs.
DataReader objects), then a DataAdapter is being used. [There could be some
example out there where they are reading an XML file or similary
methodology, but my guess is that the DataAdapter is withing scope, it's
probably just not in the code snippet.

However, if they aren't using a DataSet, they may be using a DataReader or
one of the command methods like ExecuteNonQuery or ExecuteScalar, in which
case they may not be using an Adapter.
If you have a link or two, I can speak to them a little better.

Cheers,

Bill
"rodney" <rs*******@co.columbia.ga.us> wrote in message
news:0d****************************@phx.gbl...
Hey all,

I was just wondering why in some examples in loading a
dataset I see the data adapter object and then in others
I don't see the data adapter object.

Thanks,
Rodney

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.