Kendo grid XML remote data

0

I have a WCF that returns the data of a remote MySQL database, the return is a simple XML, I believe that being a simple XML is not populating my kendo grid.

I would like an example to mount my return XML and meet the kendo grid requirements, as given in the kendo grid example: link

    
asked by anonymous 27.04.2017 / 22:55

1 answer

0

Just create a DataSet, read the XML file in question and add the dataGrid

DataSet xml = new DataSet();

xml.ReadXml("XML");

GridView.DataSource = xml.Tables[0];
    
11.05.2017 / 19:38