J
Jamie Dulaney
I have encountered a problem and was wondering if someone could enlighten me
on what I am doing wrong...
I have a typed ADO Dataset (call it DatasetA). I do the following:
DatasetA.WriteXML(myStream, XmlWriteMode.DiffGram);
.... (I write the stream to a file here)...
Later..
.... (I read from file to a stream here)....
DatasetA.ReadXML(myStream, XMLReadMode.DiffGram)
I get an exception on the ReadXML statement (Root Node Not Found)? I don't
really understand what I am doing wrong. My goal is to save the
original/current images of the data within the dataset and on a subsequent
postback from an ASP.NET web form to pull in the diffgram.... I know I
could serialize (using the binary formatter or other). I have used the
binary formatter... The performance on that was dreadful... Really just
stumbled on this problem while I was trying to find a faster method to store
and restore a typed ADO dataset to disk.... Any help would be
appreciated...
on what I am doing wrong...
I have a typed ADO Dataset (call it DatasetA). I do the following:
DatasetA.WriteXML(myStream, XmlWriteMode.DiffGram);
.... (I write the stream to a file here)...
Later..
.... (I read from file to a stream here)....
DatasetA.ReadXML(myStream, XMLReadMode.DiffGram)
I get an exception on the ReadXML statement (Root Node Not Found)? I don't
really understand what I am doing wrong. My goal is to save the
original/current images of the data within the dataset and on a subsequent
postback from an ASP.NET web form to pull in the diffgram.... I know I
could serialize (using the binary formatter or other). I have used the
binary formatter... The performance on that was dreadful... Really just
stumbled on this problem while I was trying to find a faster method to store
and restore a typed ADO dataset to disk.... Any help would be
appreciated...