I need to display xml data in a twist control. I have one root node, one child node and four more children for this child node.
I can not display it in the treelist. I am using the dataset.readXml method to read an XML file and provide a dataset as a data source. Here is the code that I follow:
DataSet dataSet = new DataSet(); dataSet.ReadXml(@"C:\foldersettings.xml"); treeList2.DataSource = dataSet; treeList2.PopulateColumns(); treeList2.BestFitColumns(); treeList2.ExpandAll();
Can someone tell me why I am not getting data in treelist. I am using DevExpress 9.1 version control.
Raman
source share