 <p>What you are looking for is the <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.button.oncommand%28v=vs.110%29.aspx" rel="nofollow">Button.OnCommand Method</a>:</p> <blockquote> <p>This allows you to create multiple Button controls on a Web page and programmatically determine which Button control is clicked.</p> </blockquote> <p>So inside <code>ListOfAssignments_ItemDataBound</code> you'd assign the CommandArgument to the button, where the <code>CommandArgument</code> is the ID of the article to be deleted:</p> <pre><code>protected void ListOfAssignments_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { Button delButton = e.Item.FindControl("RemoveAssignment") as Button; delButton.CommandArgument = //set to the value of AssignmentID //rest of your code } } </code></pre> <p>And now your button should say to use your new OnCommand:</p> <pre><code>&lt;asp:Button ID="RemoveAssignment" OnCommand="RemoveAssignment" runat="server" Text="Remove" /&gt; </code></pre> <p>And then you create the method:</p> <pre><code>protected void RemoveAssignment(object sender, CommandEventArgs e) { int articleIDToDelete = 0; if (Int32.TryParse((string)e.CommandArgument, out articleIDToDelete)) { //delete the article with an ID = articleIDToDelete } } </code></pre>