N
neverstill
So I thought I had a solution to my problem using DataRelations with the
DataSet.
I need to display hierarchical data. I have a DataList nested into another
DataList. My datasource is a DataSet with 2 tables and a couple of
DataRelations.
I thought that I could catch the items as they were bouind in
ItemDataBound(), then from there get the ChildRows() and bind that to the
nested DataList. Problem is, when I get the DataItem from ItemDataBound, it
is a DataRowView.
So.... how do I do this? How do I get the childRows()? I tried
CreateChildRows(), but it says I don't have a relation...
Any ideas?
DataSet.
I need to display hierarchical data. I have a DataList nested into another
DataList. My datasource is a DataSet with 2 tables and a couple of
DataRelations.
I thought that I could catch the items as they were bouind in
ItemDataBound(), then from there get the ChildRows() and bind that to the
nested DataList. Problem is, when I get the DataItem from ItemDataBound, it
is a DataRowView.
So.... how do I do this? How do I get the childRows()? I tried
CreateChildRows(), but it says I don't have a relation...
Any ideas?