日期:2014-05-18  浏览次数:20417 次

如何找到repeter中HeaderTemplate里面的控件!紧急呼救!!!~~~~~
我要找到HeaderTemplate里面的控件,给此控件附值,但怎么也找不到控件,寻求高手帮助!,,,

部分代码为:
<asp:Repeater   ID= "DataList1 "   runat= "server "   OnItemDataBound= "DataList1_ItemDataBound ">
<HeaderTemplate>
<table   width= "100% "   border= "1 "   bordercolor= "#000000 "   style= "border-collapse:collapse   "   cellspacing= "0 "   cellpadding= "0 ">
<tr>
          <td   runat= "server "   id= "td0 "   height= "22 "> 会员名称 </td>
          <td   runat= "server "   id= "td1 "> <asp:Label   ID= "lblScore1 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td   runat= "server "   id= "td2 "> <asp:Label   ID= "lblScore2 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td   runat= "server "   id= "td3 "> <asp:Label   ID= "lblScore3 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td   runat= "server "   id= "td4 "> <asp:Label   ID= "lblScore4 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td   runat= "server "   id= "td5 "> <asp:Label   ID= "lblScore5 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td   runat= "server "   id= "td6 "> <asp:Label   ID= "lblScore6 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td   runat= "server "   id= "td7 "> <asp:Label   ID= "lblScore7 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td   runat= "server "   id= "td8 "> <asp:Label   ID= "lblScore8 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td   runat= "server "   id= "td9 "> <asp:Label   ID= "lblScore9 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td   runat= "server "   id= "td10 "> <asp:Label   ID= "lblScore10 "   runat= "server "   Text= "Label "   Width= "150% "> </asp:Label> </td>
          <td> <asp:Label   ID= "lblBonusNum "   runat= "server "   Text= "Label " &n