Embed Datalist in another one, ASP.NET
Posted on 2009-07-04
I want to have in a ASP.NET web form, 2 Datalists, DL1, and DL2.
I want to put them like in parent child relationship, so DL2 will be embedded in DL1,
and for each parent record displayed in DL1 there is child records underlying in DL2.
I have a function in a vb class that will return data regarding the parent ID entered as a parameter for the function. FC (parentID).
The parent Datalist DL1 is bound to an object data source. ODS1.
Can someone tell me please if i can do this?
If yes, can you please write me the asp.net code, and the method to make this work.
How can i bound the DL2 to data?