Posted by Piyoosh Rai on 09/07/05 19:07
Hi guys,
I have been trying to write data from a database to XML files and
although i have been successful in doing that, the file(s) that are made
are not of the form that I would want.
I am using:
SQLDataSet.WriteXml(strFileName, XmlWriteMode.WriteSchema);
to generate the files where strFileName is the name of the file. The
files when viewed with XML Editor are seen as lines of data instead of
the regularly generated XML where each row is one below the other. When
viewed with WordPad/Notepad i see elements />< betweeen the data
and somehow I think this has to do something with the problem.
Can someone help me with this?? Any help or suggestion would be greatly
appreciated.
Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Navigation:
[Reply to this message]
|