PC Review


Reply
Thread Tools Rate Thread

Re: does DataSet.ReadXml() clear current table information on DataSet

 
 
CrunkByte
Guest
Posts: n/a
 
      21st May 2005

CrunkByte wrote:
> Hi all,
>
> I'm trying to merge dataset in with the .net compact framework.
> Unfortunately, it does not have a Merge() method. I was wondering if

I
> could bypass this shortcomming by having a source DataSet read into a
> Destination DataSet using ReadXML but I want to keep the current data
> on destination DataSet. I hope that makes since to someone out there

as
> well.
>
>
>
> Thanks for any feedback!
>
>
> Jason


For a work-around i used cloned the tables into the other dataset:
//destination dataset dsDest
dsDest.Tables.Add(dsSource.Tables["TableINeed"].Clone());

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ReadXml() method: standard DataSet vs. typed DataSet MikeOtown Microsoft ADO .NET 0 6th Dec 2007 06:15 PM
xmldatadocument.dataset. how to perform a clear on the dataset? BobC Microsoft ADO .NET 0 31st Jan 2007 06:17 PM
DataSet.ReadXML is ignoring UniqueConstraint on table... (ADO.NET =?Utf-8?B?RFQ=?= Microsoft ADO .NET 1 11th Apr 2005 05:48 PM
Difference between DataSet.Clear and DataSet.Reset? Bill Todd Microsoft ADO .NET 6 19th Mar 2004 10:54 AM
save row's information after dataset clear touf Microsoft ADO .NET 2 12th Aug 2003 08:59 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:18 AM.