Exemplo n.º 1
0
        protected void lbtn_Property_Delete_Command(object sender, CommandEventArgs e)
        {
            if (!DataEval.IsEmptyQuery(e.CommandArgument.ToString()))
            {
                ProductVariantMgr myProductVariantMgr = new ProductVariantMgr();

                // Remove Property and it's options
                myProductVariantMgr.Remove_Product_Variant_Property_Option_ByPropertyID(e.CommandArgument.ToString());
                myProductVariantMgr.Remove_Product_Variant_Property(e.CommandArgument.ToString());

                Control_Init();
            }
        }