Repeater 控件

 Repeater1.ItemCommand += Repeater1_ItemCommand;    //可以调用Repeater中控件的事件

<asp:Button ID="Button1" CommandName="delete" CommandArgument='<%#Eval("ids") %>'  runat="server" Text="删除" />

CommandName:获取命令(控件)的名称;

CommandArgument:获取命令(控件)的参数;

原文地址:https://www.cnblogs.com/m110/p/8142742.html