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