I am making a small card game which required a high score list that is saved to an external file, and loaded from it at the begining of each each game.
I wrote an xml file in this format
bob 10 3:42 21-09-09
I have figured out how to create a dataset, use dataset.readxml, to load the xml into it, create a row and then write each row into an array of HighScore's
class HighScore { string nameString, timeString, dateString; int scoreInt; }
i have also figured out how to check if the games highscore is higher than the lowest in the array,
im working on the sort, but want i would like to know is how to get the HighScore[] array back into a dataset then into the xml, or even from the array straight to the dataset any help is much appreciated, i have tried to google it, but i havent found what i want