473,394 Members | 1,843 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 1830
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.