This is a migrated thread and some comments may be shown as answers.

Build grid in hierarchy via dataset ( from XML)

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ankool
Top achievements
Rank 1
ankool asked on 17 Jun 2008, 10:17 AM

Hi,

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,

  1.  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.
  2. 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.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 Jun 2008, 12:12 PM
Hi Ankool,

Go through the following forum link which discuss a similar scenario.
Hiuerchical view using XML Datasource???

Shinu.
Tags
Grid
Asked by
ankool
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or