In case of simple grids, I am using an XML to build a datatable and then a dataset. Then i use this dataset as radGrid datasource and call radGrid.DataBind().
But now instead of simple grid, a hierarichal grid is required. How should i use my dataset (or XML) to create this grid ?
I have tried several methods such as,
- Using a dataset as datasource and dataset is having two datatables, one for mastertable and other for detail table. Then a relation is build between datatables and added to dataset.
- Using two xmldatasource, and assigning then to mastertable and detail table. During load data property of both xmldatasource is updated with required xml.
Is there any way of loading hierarichal grid using dataset? Also, in this particual grid its a two level hierarchy.