PC Review


Reply
Thread Tools Rate Thread

convert 2 XML files into a dataset

 
 
RC
Guest
Posts: n/a
 
      23rd Jan 2005
Hi,

I now have 2 xml files with same structure

first.xml
<dataset1>
<table1>
<col1>aaa</col1>
<col2>bbb</col2>
</table>
.....
</dataset1>

2nd.xml
<dataset1>
<table1>
<col1>ccc</col1>
<col2>ddd</col2>
</table>
.....
</dataset1>

how can I merge these 2 set of data into a single dataset?

thanks


 
Reply With Quote
 
 
 
 
Sahil Malik
Guest
Posts: n/a
 
      23rd Jan 2005
Load it into two datasets using the readXML method, and then call a merge on
them to get your final dataset.

- Sahil Malik
http://dotnetjunkies.com/weblog/sahilmalik


"RC" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I now have 2 xml files with same structure
>
> first.xml
> <dataset1>
> <table1>
> <col1>aaa</col1>
> <col2>bbb</col2>
> </table>
> .....
> </dataset1>
>
> 2nd.xml
> <dataset1>
> <table1>
> <col1>ccc</col1>
> <col2>ddd</col2>
> </table>
> .....
> </dataset1>
>
> how can I merge these 2 set of data into a single dataset?
>
> thanks
>
>



 
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
Convert typed DataSet to untyped DataSet zlf Microsoft C# .NET 1 26th Oct 2007 03:40 PM
convert Excel to dataset karups Microsoft VB .NET 2 8th Aug 2006 07:04 AM
Convert XML String to Dataset =?Utf-8?B?TWFyYw==?= Microsoft VB .NET 12 16th Jun 2005 05:34 PM
Convert Dataset to Recordset in C# =?Utf-8?B?TWFyYXRob25lcg==?= Microsoft C# .NET 9 30th Dec 2004 07:39 PM
Convert regular DataSet to strongly typed DataSet moondaddy Microsoft ADO .NET 3 20th Apr 2004 08:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:33 AM.