protected void btnDeleteLink_Click(Object Sender, ImageClickEventArgs e) { ImageButton oButton = (ImageButton)Sender; oScheduling.Delete(Int32.Parse(oButton.CommandArgument)); Response.Redirect(Request.Path); }