The WriteXml method is used to save the data in an XML form so it can be later restored with ReadXml(String). Together, these methods allow to save the whole data contents of a C1DataSet and restore it later, for example, to save work when no database connection is available to save it in the database, and restore it and send to the database for update when the connection becomes available.