Hi there.

I am new to this, and im trying to do some reading and writing to XML.

i would like to store the schema information brought back to me from SQL into XML but i only seem to be getting the column headings written to the XML but displays all the information fine on the datagrid, like the names of each field, the datatypes of each field etc....

how do i write this info to the XML?

i have done:

dataSet.writexmlschema() etc... but only writes the column headings, so when i read it back to the datagrid, it only shows the column headings!