Bind objectdatasource to xmlschema

Hello and Happy new year!

I have a Dataset created from a xml schema (with the xsd tool).

I would like to use this dataset as an objectdatasource for a gridview. The data will come from a xml file so I choose the readxml(string fileName) method for the select method (in the wizard).

But the schema is not recognized so I can't edit the columns properly in the gridview.

I think this is because the readxml method returns a XmlReadMode object instead of a strong typed datatable. Is there a workaroud for this

Thank You




Answer this question

Bind objectdatasource to xmlschema