Getting DataSet into an XML

  • Thread starter Thread starter K Viltersten
  • Start date Start date
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?
 
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
 
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! :))
 
Back
Top