Dataset and UDT

Broodmdh

Member
Joined
Oct 20, 2005
Messages
6
Programming Experience
1-3
I am trying to set up a dataset, but don't know how to go about it correctly. I have multiple instances of a udt, which I would like to store in a dataset (for easy manipulation) and then write to an xml. Can someone please help me figure this out? To the best of my knowledge, I can manipulate a dataset in the same manner as an array, but it is easier to write to an xml. Please post code if you have any to share. Thanks!
 

Schenz

Well-known member
Joined
Sep 11, 2004
Messages
181
Location
Cincinnati, OH
Programming Experience
5-10
A DataSet is basically an in memory Database. If the UDT info is not from a database, I think you may be approaching this from the wrong angle.

You may want to instead look at the XML namespace or change the UDT to a real class and [SIZE=-1]mark it Serializable.

[/SIZE]
 
Top Bottom