473,394 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Multiple Data Adapters.

Hi,

I have been using SQLDataAdapters and Datasets in my project.

I have a goal to simplify the project. Each data adapter has a
corresponding dataset it retrieves values into. Even though the data
structure of 3 datasets is identical, the 3 data adapters use 3 different
stored procedures depending on what I am trying to accomplish.

It would seem that since the returned data fields are the same that I would
only need 1 dataset. I haven't been able to configure more than one data
adapter to feed a single dataset (single table in a dataset). Perhaps I
don't understand the fundamentals of the data adapter/dataset relationship
but is there a way to have more than 1 data adapter based on different
stored procedures to fill a single table in a single dataset????

Any references to relevant explanations or articles is appreciated.

Bob
Jul 21 '05 #1
1 1829
Do you want to use the DataAdapters all at the same time?
In other words,
da1.Fill(ds1);
da2.Fill(ds1);
da3.Fill(ds1);

or so you want to select the dataAdapter to use, and only Fill() once?

-Dino
"Bob T" <tw*****@hotmail.com> wrote in message
news:O5**************@TK2MSFTNGP10.phx.gbl...
Hi,

I have been using SQLDataAdapters and Datasets in my project.

I have a goal to simplify the project. Each data adapter has a
corresponding dataset it retrieves values into. Even though the data
structure of 3 datasets is identical, the 3 data adapters use 3 different
stored procedures depending on what I am trying to accomplish.

It would seem that since the returned data fields are the same that I would only need 1 dataset. I haven't been able to configure more than one data
adapter to feed a single dataset (single table in a dataset). Perhaps I
don't understand the fundamentals of the data adapter/dataset relationship
but is there a way to have more than 1 data adapter based on different
stored procedures to fill a single table in a single dataset????

Any references to relevant explanations or articles is appreciated.

Bob

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dinesh | last post by:
Currently we use a data adapter and a dataset for fetching data from multiple data source. Once we populate the data from each data source we merge all datasets into a single dataset. Hence if...
3
by: Kaveri | last post by:
Currently we use a data adapter and a dataset for fetching data from multiple data source. Once we populate the data from each data source we merge all datasets into a single dataset. Hence if...
5
by: amanatio | last post by:
I have a huge form with many data bound controls on it and 34 tables in database (and of course 34 data adapters and 34 datasets). The form is extremely slow to design (huge delay when I go to code...
8
by: Jason L James | last post by:
Hi all, does anyone know if I can create a dataview from multiple datatables. My dataset is constructed from four separate tables and then the relationships are added that link the tables...
8
by: Dot Net Newbie | last post by:
New to DOTNET so please be gentle: I have an in-memory dataset that I want move to a SQL Server database. The XML schema with which the dataset was built matches exactly the table schema in SQL...
1
by: Bob T | last post by:
Hi, I have been using SQLDataAdapters and Datasets in my project. I have a goal to simplify the project. Each data adapter has a corresponding dataset it retrieves values into. Even though...
0
by: dimpy | last post by:
Hi everyone, I am using some big size data adapters to fill datasets to be sent to a web service. Now every time i get an error in datatype or constraints violations while filling the dataset, I...
25
by: Fred | last post by:
Our server has 8 IPs with 121.232.21.1 as default (example). I wrote a windows service that downloads podcasts (mp3s) off the net. However every time this service runs it clogs down the entire...
6
by: nzkks | last post by:
Hi I am using these: ASP.Net 2.0 with VB.Net, Visual Studio 2005, SQL Server 2005 I suspect, there is something missing in BLL class. I created the ASP.Net form also and checked whether it is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.