I\'ve been stuck with this problem for a few hours and can\'t seem to figure it out, so I\'m asking here :)
Alright, I\'ve got this function:
private
Use DataSet.WriteXml - it will output the dataset as XML.