Sorry...under pressure for quick information from the boss so have limited time to research this myself...apologies.
Have virtually no knowledge of ADO.net and reading and updating data from XML files.
If I have an XML file containing a large table full of data...to update one record in the XML file, am i correct in assuming that i need to read the whole table into a Dataset, update that one record and then write back out to the file?
Also, if i have related tables, should i have these tables in seperate XML files and read them into seperate datasets and somehow perform a relational query...or should the full schema of the database and tables all be in the one xml file?
Sorry, these questions may not make a lot of sense, but i hope someone can help me here!! Is it appropriate to use xml files in this way...or are they essentially read-only??
Stew
Have virtually no knowledge of ADO.net and reading and updating data from XML files.
If I have an XML file containing a large table full of data...to update one record in the XML file, am i correct in assuming that i need to read the whole table into a Dataset, update that one record and then write back out to the file?
Also, if i have related tables, should i have these tables in seperate XML files and read them into seperate datasets and somehow perform a relational query...or should the full schema of the database and tables all be in the one xml file?
Sorry, these questions may not make a lot of sense, but i hope someone can help me here!! Is it appropriate to use xml files in this way...or are they essentially read-only??
Stew