Solved

Datasets and data adapters

Posted on 2004-11-30
2
294 Views
Last Modified: 2010-04-23
I have a single dataset with 3 tables in it.  Must I user 3 different data adapters to or can I use the adapter, put information into dataset table, and reuse the same data adapter to fill the dataset with the other 2 tables
0
Comment
Question by:mgmhicks
  • 2
2 Comments
 
LVL 27

Accepted Solution

by:
Dabas earned 125 total points
ID: 12712272
Hi mgmhicks,
Three DataAdpaters.

Dabas
0
 
LVL 27

Assisted Solution

by:Dabas
Dabas earned 125 total points
ID: 12712280
Take into account that the dataadapter is not only used to fill your tables, but also (should you want to) to update your database.
If you would reuse the same adapter, how would .NET know what Insert, Update and Delete commands to use to do the update?

Dabas
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question