Getting DataSet into an XML

K

K Viltersten

I'm obtaining a DataSet object and then foreach
loop through it's Rows, aiming at creating a
XML. However, i have two wonderings here.

1. Do i really need to get the individual
elements of a row as an array of Object objects?
I'd prefer string class objects WITHOUT casting
them into it.

2. Is there a smooth way to convert a while
DataSet object into an XML, by any chance?
 
A

Arne Vajhøj

K said:
I'm obtaining a DataSet object and then foreach
loop through it's Rows, aiming at creating a
XML. However, i have two wonderings here.

1. Do i really need to get the individual
elements of a row as an array of Object objects?
I'd prefer string class objects WITHOUT casting
them into it.

2. Is there a smooth way to convert a while
DataSet object into an XML, by any chance?

The DataSet WriteXml method ?

Arne
 
K

K Viltersten

And how many rooms are in Gehenna anyway?

Try sending 1000000000 mails a day to everybody on
the net offering:
a) watches and other accessories,
b) pornography in all its flavors,
c) viagra & co,
d) mortage rates bull,
e) body parts resize means,
f) wins/inheritages/business proposals,
g) any other kind of shit none sane will read
and you'll see soon enough. :)

Have a nice trip! :))
 

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