PC Review


Reply
Thread Tools Rate Thread

Convert XML persisted ado recordset to dataset

 
 
Sean Bytnar
Guest
Posts: n/a
 
      3rd May 2005
Hello all,

I am looking for C# code that will allow me to take an ADO Recordset
previously persisted to a file as XML and convert it to a Dataset. I
have seen some solutions but have yet to make any of them work. Can
someone please help me with functional code?

Thanks,
Sean


ps. Why would Microsoft provide code to convert Datasets to ADO
Recordsets (new tech -> old tech), but not the other way around to
facilitate migration (old tech -> new tech)?
 
Reply With Quote
 
 
 
 
Val Mazur \(MVP\)
Guest
Posts: n/a
 
      4th May 2005
Hi Sean,

If you need to load saved XML directly into DataSet, then you would need to
transform it first to fit it DataSet's structure. Or you could load dataset
from ADO recordset using next example

http://support.microsoft.com/default...b;en-us;310349

--
Val Mazur
Microsoft MVP

http://xport.mvps.org



"Sean Bytnar" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello all,
>
> I am looking for C# code that will allow me to take an ADO Recordset
> previously persisted to a file as XML and convert it to a Dataset. I have
> seen some solutions but have yet to make any of them work. Can someone
> please help me with functional code?
>
> Thanks,
> Sean
>
>
> ps. Why would Microsoft provide code to convert Datasets to ADO
> Recordsets (new tech -> old tech), but not the other way around to
> facilitate migration (old tech -> new tech)?



 
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
Open persisted ADODB recordset in ADO.Net DataSet Dan Reber Microsoft ADO .NET 6 29th Jan 2007 01:16 PM
Convert Dataset to Recordset in C# =?Utf-8?B?TWFyYXRob25lcg==?= Microsoft C# .NET 9 30th Dec 2004 07:39 PM
how to convert an ado recordset xml format to an ado.net dataset xml afsheen Microsoft ADO .NET 1 17th Mar 2004 12:04 PM
how to convert an ado recordset xml format to an ado.net dataset xml afsheen Microsoft VB .NET 1 17th Mar 2004 12:02 PM
convert recordset to dataset Thaddeus Microsoft C# .NET 0 17th Dec 2003 10:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:25 AM.