loading xml data set to a grid

I have a data set stored in XML and would like to load it into a grid. What do you suggest is the best way to do this?

1 Reply

AD Administrator Syncfusion Team June 23, 2004 02:23 PM UTC

How is the XMl being generated? If it is from a DataSet.WriteXML, you could load the DataSet with a DataSet.ReadXML, and use it that way, setting the GridDataBoundGrid.DataSource property with the ADO.NET datasource. If you use .NET Framework''s XmlSerializer to serialize a grid.Model object, you can load that XML to create a grid.Model object. But the grid provides no direct support for loading arbitrary XML data. You would have to read the XML directly and populate the grid with it.

Loader.
Up arrow icon