T
Todd A
Does anyone have a method up their sleeve to read a DataSet from a Stream?
I see that the DataSet.ReadXML(stream) is not supported in the .NET CF.
The dataset I am trying to read is on the PPC file system, but it is
encrypted.
I retreive the file, decrypt it, and now have the "text" of the xml in a
string/stream variable.
I would now like to read this string/stream variable into a new dataset.
I know I could rewrite the decrypted XML to the file system, and read it
from there, but I am trying to avoid leaving any hint of decrypted data on
the file system.
I've tried using an XMLReader, but can't seem to locate the correct method
and or sequence of events to get it into a dataset. I do get an error that
reads:
"This is an unexpected token. The expected toekn is 'NAME. Line 1, position
2."
The XML in the stream/string includes it's schema. The XML consists of
two(2) tables with one relationship between them. (parent key/foreign key)
I can use either a string or a stream for this task.
Thank you,
Todd Acheson
I see that the DataSet.ReadXML(stream) is not supported in the .NET CF.
The dataset I am trying to read is on the PPC file system, but it is
encrypted.
I retreive the file, decrypt it, and now have the "text" of the xml in a
string/stream variable.
I would now like to read this string/stream variable into a new dataset.
I know I could rewrite the decrypted XML to the file system, and read it
from there, but I am trying to avoid leaving any hint of decrypted data on
the file system.
I've tried using an XMLReader, but can't seem to locate the correct method
and or sequence of events to get it into a dataset. I do get an error that
reads:
"This is an unexpected token. The expected toekn is 'NAME. Line 1, position
2."
The XML in the stream/string includes it's schema. The XML consists of
two(2) tables with one relationship between them. (parent key/foreign key)
I can use either a string or a stream for this task.
Thank you,
Todd Acheson