Class Object -> XML -> Database???

D

Don Miller

It seems fairly straightforward to serialize a custom object to an XML file
(saved in the file system) but it is wide open on how to serialize that
object as a stream and then get it into a database. I've seen streamwriters,
memorystreams, etc. (all textwriters) used where these XML objects are
eventually converted to string and stored to a database for SQL 2000 and
maybe as native XML in SQL 2005 (although I haven't seen examples of the
latter).

Is there a preferred way (less coding, faster, memory efficient, etc.) to
create an object serialized as XML and prepare it for storage in a database?

Thanks for any help.
 

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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top