Example #1
0
        private void Delete()
        {
            if (VSSet_Id != null)
            {
                int?[]   _set_id       = { VSSet_Id };
                ResultEN result_detail = ClassSet.Delete_Equipment_SET_detail(_set_id);
                if (result_detail != null && result_detail.result)
                {
                    ResultEN result_Set_detail = ClassSet.Delete_Equipment_SET(_set_id);

                    string message = "ลบสำเร็จ";
                    MessageShow(message);
                    ScriptManager.RegisterClientScriptBlock(this, typeof(Page), "ToggleScript", "Alert(" + message + ")", true);
                }
            }
        }