S
sck10
Hello,
I am using the following Repeater control. How do I reference the label
"lblCurrentYr"?
Thanks, sck10
<asp:Repeater id="rptCustomerRevenue" runat="server">
<HeaderTemplate>
<table class="tblOutline" style="width:100%" border="1px">
<tr>
<th style="width:37%;">Service</th>
<th style="width:12%;"><asp:Label ID="lblCurrentYr" runat="server"
/></th>
<th style="width:11%;"><asp:Label ID="lblYearMinus01" runat="server"
/></th>
<th style="width:15%;"><asp:Label ID="lblYearMinus02" runat="server"
/></th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td style="width:37%; text-align:left;"><%#Eval("Service")%></td>
<td style="width:12%; text-align:right;"><%#Eval("CurrentYrMinus00",
"{0:C0}")%></td>
<td style="width:11%; text-align:right;"><%#Eval("CurrentYrMinus01",
"{0:C0}")%></td>
<td style="width:15%; text-align:right;"><%#Eval("CurrentYrMinus02",
"{0:C0}")%></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>
I am using the following Repeater control. How do I reference the label
"lblCurrentYr"?
Thanks, sck10
<asp:Repeater id="rptCustomerRevenue" runat="server">
<HeaderTemplate>
<table class="tblOutline" style="width:100%" border="1px">
<tr>
<th style="width:37%;">Service</th>
<th style="width:12%;"><asp:Label ID="lblCurrentYr" runat="server"
/></th>
<th style="width:11%;"><asp:Label ID="lblYearMinus01" runat="server"
/></th>
<th style="width:15%;"><asp:Label ID="lblYearMinus02" runat="server"
/></th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td style="width:37%; text-align:left;"><%#Eval("Service")%></td>
<td style="width:12%; text-align:right;"><%#Eval("CurrentYrMinus00",
"{0:C0}")%></td>
<td style="width:11%; text-align:right;"><%#Eval("CurrentYrMinus01",
"{0:C0}")%></td>
<td style="width:15%; text-align:right;"><%#Eval("CurrentYrMinus02",
"{0:C0}")%></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>