Denaes Posted September 22, 2005 Posted September 22, 2005 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. Quote
Denaes Posted September 23, 2005 Author Posted September 23, 2005 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.