<asp:repeater id="rpt" run="server">
<ItemTemplate>
<asp:LinkButton id="Delete" runat="server" OnCommand="Delete_Command"></asp:linkButton>
<asp:label id="lblMessage" run="server">
</ItemTemplate>
</asp:repeater>
代码背后:
protected void Delete_Command(object sender, CommandEventArgument e)
{
}
如何在 Delete_Command 中获得对“lblMessage”的引用?