K
Kim Søvsø Pedersen
Hi
I have two child/parent related nested repeaters that are filled with data
from a dataset with two joined tables. I would like to use data from the
outermost repater in the innermost, e.g. a ID-column from the parent table.
How do I do that?
I've tried several different things like putting a Label in the parent
repeater and accessing it with <%# Container.Parent.DataItem.Label1.Text %>
in the child, but that just gives me a "'DataItem' is not member of
'System.Web.UI.Control'".
What do I do (wrong)?
Thanks
Kim
I have two child/parent related nested repeaters that are filled with data
from a dataset with two joined tables. I would like to use data from the
outermost repater in the innermost, e.g. a ID-column from the parent table.
How do I do that?
I've tried several different things like putting a Label in the parent
repeater and accessing it with <%# Container.Parent.DataItem.Label1.Text %>
in the child, but that just gives me a "'DataItem' is not member of
'System.Web.UI.Control'".
What do I do (wrong)?
Thanks
Kim