其实repeater的ItemCreated和ItemCommand事件也蛮好用的。 <asp:repeater id="rptsortimgUp" runat="server" OnItemCommand="rptsortimgUp_ItemCommand" OnItemCreated="rptsortimgUp_ItemCreated"> <itemtemplate> <a href='<%# DataBinder.Eval(Container, "DataItem.f_url") %>' target="_blank"><img width="16" height="16" hspace="3"> ' 添加附件删除确认rptsortimgUp_ItemCreated ' 删除附件rptsortimgUp_ItemCommand 相关文章: