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, 7 1746
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,
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,
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,
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,
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,
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,
Seems merging tables is new to Framework 2
Yes
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jon Bosker |
last post by:
Help! This is probably easy but I just don't get it. I am trying to
relate and merge 2 datasets. My XML file has 2 datasets (1st level
nodes) TimeDetail and TimeSummary. The report is supposed to...
|
by: tonidapogi |
last post by:
Hi! I'm having problems in updating my client database using web service. When I merge datasets (1 from the client and 1 from the web service), and try to update the client database by using the...
|
by: Klatuu |
last post by:
Whew, I've struggled my way through figuring out how to use XML to transport
data..now I can imagine what having a baby is like :)
But, I'm stuck now. I generate the XML (single table, no...
|
by: Walt Borders |
last post by:
Hi,
My problem: Merging two datasets deletes parent elements, preserves
all children.
I've created two dataSets. Each use the same schema, parent-child
nested tables.
The first dataSet is...
|
by: Mike |
last post by:
Hi!
I also asked this question in C# group with no results:
I have 2 datasets loaded with data from two xml files having the same
schema. The files contain data from yesterday and today. I'd...
|
by: Kjetil |
last post by:
Hi!
I've got a WebService supplying me with a dataset:
Webservice:
DataSet ds = new DataSet();
OdbcDataAdapter adapter = new OdbcDataAdapter(select,connect);
adapter.MissingSchemaAction =...
|
by: Mike |
last post by:
Hi! I have 2 datasets loaded with data from two xml files having the same
schema. The files contain data from yesterday and today. I'd like to merge
both datasets in such a way that the resulting...
|
by: Phil Townsend |
last post by:
I am working in a web app that contains two datasets that are cached. I
would like to pull the first table from each dataset and put each
into a single dataset, so as to have a single dataset with...
|
by: Dan Cooper |
last post by:
I've got two datasets, each containing a single data table.
dstDataSetA.Tables("TableA")
dstDataSetB.Tables("TableB")
I want to merge them together and delete any non-matching rows.
...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
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,...
|
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...
| |