protected void repAdminURLs_ItemCommand(object source, RepeaterCommandEventArgs e) { refreshUrlRepeater(); if (e.CommandName.Equals("Remove")) { // delete the admin URL BrokerDB issuer = new BrokerDB(); issuer.DeleteAdminURL(Int32.Parse(e.CommandArgument.ToString())); } }