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

Merging Datasets

P: n/a
I have 2 datasets , one returned as a dataset from a webservice and one
created client side form the same stored procedure that is returned from the
webservice. I then try and merge the data, but they dont seem to merge.

When I return a single table , this method works fine, but im returning 3
tables and the merge isnt happening. Is there anyway to find out how I can
why a merge isnt occuring, as the merge doesnt return any errors,
Aug 22 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Jon,

Be aware that the tables inside the dataset need equal table names and that
the datatables in that needs to have exactly the same description as well as
primary keys.

Here a simple sample.
http://www.vb-tips.com/dbpages.aspx?...f-de3a5d92b14a

I hope this helps,

Cor

"Jon Vaughan" <jo**********@hotmail.comschreef in bericht
news:Ci********************@fe01.news.easynews.com ...
>I have 2 datasets , one returned as a dataset from a webservice and one
created client side form the same stored procedure that is returned from
the webservice. I then try and merge the data, but they dont seem to merge.

When I return a single table , this method works fine, but im returning 3
tables and the merge isnt happening. Is there anyway to find out how I can
why a merge isnt occuring, as the merge doesnt return any errors,


Aug 22 '06 #2

P: n/a
Cor,

can you dig out that link again, as its page cannot be displayed.

thanks
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:OS**************@TK2MSFTNGP05.phx.gbl...
Jon,

Be aware that the tables inside the dataset need equal table names and
that the datatables in that needs to have exactly the same description as
well as primary keys.

Here a simple sample.
http://www.vb-tips.com/dbpages.aspx?...f-de3a5d92b14a

I hope this helps,

Cor

"Jon Vaughan" <jo**********@hotmail.comschreef in bericht
news:Ci********************@fe01.news.easynews.com ...
>>I have 2 datasets , one returned as a dataset from a webservice and one
created client side form the same stored procedure that is returned from
the webservice. I then try and merge the data, but they dont seem to
merge.

When I return a single table , this method works fine, but im returning 3
tables and the merge isnt happening. Is there anyway to find out how I
can why a merge isnt occuring, as the merge doesnt return any errors,



Aug 22 '06 #3

P: n/a
Jon,

For me it works completely

http://www.vb-tips.com/dbpages.aspx?...f-de3a5d92b14a
Cor

"Jon Vaughan" <jo**********@hotmail.comschreef in bericht
news:_l*********************@fe12.news.easynews.co m...
Cor,

can you dig out that link again, as its page cannot be displayed.

thanks
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:OS**************@TK2MSFTNGP05.phx.gbl...
>Jon,

Be aware that the tables inside the dataset need equal table names and
that the datatables in that needs to have exactly the same description as
well as primary keys.

Here a simple sample.
http://www.vb-tips.com/dbpages.aspx?...f-de3a5d92b14a

I hope this helps,

Cor

"Jon Vaughan" <jo**********@hotmail.comschreef in bericht
news:Ci********************@fe01.news.easynews.co m...
>>>I have 2 datasets , one returned as a dataset from a webservice and one
created client side form the same stored procedure that is returned from
the webservice. I then try and merge the data, but they dont seem to
merge.

When I return a single table , this method works fine, but im returning
3 tables and the merge isnt happening. Is there anyway to find out how I
can why a merge isnt occuring, as the merge doesnt return any errors,




Aug 22 '06 #4

P: n/a
adm
Jon,

Here is the same link Cor posted:
http://tinyurl.com/g9ogz

I have had similar trouble merging datasets on occasion.

If you can't get the dataset to merge, try using the merge method of
the data tables rather than the dataset. Even if you only do so for
debugging purposes, it will help you narrow down where the problem
lies, and you can go from there.

adm

Jon Vaughan wrote:
Cor,

can you dig out that link again, as its page cannot be displayed.

thanks
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:OS**************@TK2MSFTNGP05.phx.gbl...
Jon,

Be aware that the tables inside the dataset need equal table names and
that the datatables in that needs to have exactly the same description as
well as primary keys.

Here a simple sample.
http://www.vb-tips.com/dbpages.aspx?...f-de3a5d92b14a

I hope this helps,

Cor

"Jon Vaughan" <jo**********@hotmail.comschreef in bericht
news:Ci********************@fe01.news.easynews.com ...
>I have 2 datasets , one returned as a dataset from a webservice and one
created client side form the same stored procedure that is returned from
the webservice. I then try and merge the data, but they dont seem to
merge.

When I return a single table , this method works fine, but im returning 3
tables and the merge isnt happening. Is there anyway to find out how I
can why a merge isnt occuring, as the merge doesnt return any errors,

Aug 22 '06 #5

P: n/a
great tip ad, thanks !

"adm" <ad*****@yahoo.comwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
Jon,

Here is the same link Cor posted:
http://tinyurl.com/g9ogz

I have had similar trouble merging datasets on occasion.

If you can't get the dataset to merge, try using the merge method of
the data tables rather than the dataset. Even if you only do so for
debugging purposes, it will help you narrow down where the problem
lies, and you can go from there.

adm

Jon Vaughan wrote:
>Cor,

can you dig out that link again, as its page cannot be displayed.

thanks
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:OS**************@TK2MSFTNGP05.phx.gbl...
Jon,

Be aware that the tables inside the dataset need equal table names and
that the datatables in that needs to have exactly the same description
as
well as primary keys.

Here a simple sample.
http://www.vb-tips.com/dbpages.aspx?...f-de3a5d92b14a

I hope this helps,

Cor

"Jon Vaughan" <jo**********@hotmail.comschreef in bericht
news:Ci********************@fe01.news.easynews.com ...
I have 2 datasets , one returned as a dataset from a webservice and one
created client side form the same stored procedure that is returned
from
the webservice. I then try and merge the data, but they dont seem to
merge.

When I return a single table , this method works fine, but im
returning 3
tables and the merge isnt happening. Is there anyway to find out how I
can why a merge isnt occuring, as the merge doesnt return any errors,


Aug 22 '06 #6

P: n/a
Seems merging tables is new to Framework 2

"Jon Vaughan" <jo**********@hotmail.comwrote in message
news:I5***************@fe02.news.easynews.com...
great tip ad, thanks !

"adm" <ad*****@yahoo.comwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
>Jon,

Here is the same link Cor posted:
http://tinyurl.com/g9ogz

I have had similar trouble merging datasets on occasion.

If you can't get the dataset to merge, try using the merge method of
the data tables rather than the dataset. Even if you only do so for
debugging purposes, it will help you narrow down where the problem
lies, and you can go from there.

adm

Jon Vaughan wrote:
>>Cor,

can you dig out that link again, as its page cannot be displayed.

thanks
"Cor Ligthert [MVP]" <no************@planet.nlwrote in message
news:OS**************@TK2MSFTNGP05.phx.gbl...
Jon,

Be aware that the tables inside the dataset need equal table names and
that the datatables in that needs to have exactly the same description
as
well as primary keys.

Here a simple sample.
http://www.vb-tips.com/dbpages.aspx?...f-de3a5d92b14a

I hope this helps,

Cor

"Jon Vaughan" <jo**********@hotmail.comschreef in bericht
news:Ci********************@fe01.news.easynews.co m...
I have 2 datasets , one returned as a dataset from a webservice and
one
created client side form the same stored procedure that is returned
from
the webservice. I then try and merge the data, but they dont seem to
merge.

When I return a single table , this method works fine, but im
returning 3
tables and the merge isnt happening. Is there anyway to find out how
I
can why a merge isnt occuring, as the merge doesnt return any errors,



Aug 23 '06 #7

P: n/a
Seems merging tables is new to Framework 2

Yes

Cor
Aug 23 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.