嵌套repeater 绑定外repeater数据
repeater中嵌套一个repeater
我想在嵌套的repeater中绑定一个上面repeater中数据源中的数据
怎么绑?
------解决方案-------------------- <asp:Repeater ID="rptOrderList" runat="server" OnItemDataBound="rptOrderList_ItemDataBound">
<ItemTemplate>
<tr id="One<%# Eval("id") %>" onmouseover="Fun_mouseOver('One<%# Eval("ID") %>')" onmouseout="Fun_mouseOut('One<%# Eval("ID") %>')">
<td height="26"><%# Eval("id") %> </td>
<td height="26"><%# Eval("mainSaleInfo") %></td>
<td height="26"><%# Eval("amount","{0:C}") %></td>
<td height="26"><%# Eval("source") %></td>
<td height="26"><%# Eval("kdate") %></td>
<td height="26"><%# Eval("senddate") %></td>
<td height="26"><%# Eval("overdate") %></td>
<td height="26"><%# Eval("salename") %></td>
<td height="26"><%# Eval("StoreName") %></td>
<td height="26"><%# Eval("financeName") %></td>
<td height="26"><%# SetAudioUrl(Eval("audioUrl").ToString()) %></td>
<td height="26"><%# PublicStr.GetStateName(Eval("state").ToString())%></td>
<td height="26"><a href="javascript:showOrderInfo('<%# Eval("id") %>')">查看详细</a> </td>
</tr>
<tr style="display:none;" id="<%# Eval("id") %>">
<td colspan="13" align="center" >
<br />
<table width="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" align="center" bgcolor="#B5D2F1">客户名称 </td>
<td height="30" align="center" bgcolor="#B5D2F1">联系电话</td>
<td height="30" align="center" bgcolor="#B5D2F1">付款方式</td>
<td height="30" align="center" bgcolor="#B5D2F1">联系地址</td>
<td height="30" align="center" bgcolor="#B5D2F1">快递信息记录</td>
</tr>
<tr>
<td height="26"><%# Eval("kname") %></td>
<td height="26"><%# Eval("ktel") %></td>
<td height="26"><%# Eval("kpaykind") %></td>
<td height="26"><%# Eval("kaddr") %></td>
<td height="26"><%# Eval("emskind") %><%# Eval("emsnum") %></td>
</tr>