コード例 #1
0
        protected void btnDeleteLink_Click(Object Sender, ImageClickEventArgs e)
        {
            ImageButton oButton = (ImageButton)Sender;

            oRacks.Delete(Int32.Parse(oButton.CommandArgument), 1);
            Response.Redirect(Request.Path + "?zoneid=" + hdnZoneId.Value);
        }
コード例 #2
0
        protected void btnRackDelete_Click(object sender, EventArgs e)
        {
            int id = Int32.Parse(Request.QueryString["ra"]);

            oRacksNew.Delete(id, 1);
            Response.Redirect(FormURL("z=" + lblRackZone.ToolTip));
        }