Here is code like
<asp:repeater Id="Id1" runat="server" onItemCommand="Id1_ItemCommand">
<ItemTemplate>
<asp:button Id="button" commandname="botton" />
</ItemTemplate>
</asp:repeater>
in code
protected void Id1_ItemCommand(object sender, RepeaterCommandEventArgs e)
{
if(e.commandName == "button")
{
my logic
}
}
This is not worked