471,071 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Merging Datasets

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
7 1599
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
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
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
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
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
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
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.

Similar topics

6 posts views Thread by Jon Bosker | last post: by
2 posts views Thread by Klatuu | last post: by
reply views Thread by Kjetil | last post: by
2 posts views Thread by Phil Townsend | last post: by
2 posts views Thread by Dan Cooper | last post: by
reply views Thread by leo001 | last post: by

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.