Example #1
0
        protected void btnDeleteLink_Click(Object Sender, ImageClickEventArgs e)
        {
            ImageButton oButton = (ImageButton)Sender;

            oDepot.Delete(Int32.Parse(oButton.CommandArgument));
            Response.Redirect(Request.Path);
        }