Repeater1.ItemCommand += Repeater1_ItemCommand; //可以调用Repeater中控件的事件
<asp:Button ID="Button1" CommandName="delete" CommandArgument='<%#Eval("ids") %>' runat="server" Text="删除" />
CommandName:获取命令(控件)的名称;
CommandArgument:获取命令(控件)的参数;