CommandName="del" CommandArgument='<%# Eval("ID") %>'>删 除</asp:LinkButton>
后台:
复制代码 代码如下:
protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
{
if (e.CommandName == "del")
{
//删除的方法
}
}