G
Guest
Hi all,
With the following code in mind :
<aspataList ID="dlOne" DataKeyField="myField1" DataSource="<%#
GetDataSource1()" Runat="server">
<ItemTemplate>
Output Value Here!
<aspataList ID="dlTwo" DataKeyField="myField2" DataSource="<%#
GetDataSource2(?,?)" Runat="server">
<ItemTemplate>Output Value Here!</ItemTemplate>
</aspataList>
</ItemTemplate>
</aspataList>
I need to send the Data Source of the nested DataList (DataSource="<%#
GetDataSource2(?,?)) two variables.
1) myField2 value of current DataList
2) myField1 value of parent DataList
Using Databinding?
Can anyone give a head on on acheiving this???
Cheers,
Adam
With the following code in mind :
<aspataList ID="dlOne" DataKeyField="myField1" DataSource="<%#
GetDataSource1()" Runat="server">
<ItemTemplate>
Output Value Here!
<aspataList ID="dlTwo" DataKeyField="myField2" DataSource="<%#
GetDataSource2(?,?)" Runat="server">
<ItemTemplate>Output Value Here!</ItemTemplate>
</aspataList>
</ItemTemplate>
</aspataList>
I need to send the Data Source of the nested DataList (DataSource="<%#
GetDataSource2(?,?)) two variables.
1) myField2 value of current DataList
2) myField1 value of parent DataList
Using Databinding?
Can anyone give a head on on acheiving this???
Cheers,
Adam