Can you de-serialize an ADO.NET recordset ?

R

RobT

Hi,

Please could someone tell me if it's possible to de-serialize and
ADO.NET recordset into an object and if so, how it's done?

I am able to de-serialize XML stored in a string value and then
serialize it back into XML but not to and from a recordset.

Any help would be appreciated.

Rob
 
C

CJ Taylor

You can just implement a binary formatter (I would recommend to get
protected/private member variables, etc).

Using an XML Formatter only gets the public declarations so you woldn't get
a complete serialized object. But that may be all you want.

HTH,
CJ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top