Exemplo n.º 1
0
    override protected int ExecUpdate()
    {
        // Update with ID = this.ID
        try
        {
            DADiscount DADiscount = CreateObjectFromPage();
            DADiscount.fID = this.KeyID;

            DADiscount.USP_Discount_Update();
            return(UpdateCategory() == true ? 1 : -1);
        }
        catch { return(0); }
    }