Exemplo n.º 1
0
    void factor_condition_update2()
    {
        Shoping      ac = new Shoping();
        ShopingDatum dm = new ShopingDatum();
        PublicClass  pc = new PublicClass();

        dm.Id_Factor = decimal.Parse(Request.QueryString["Id_Factor"]);

        dm.Factor_Condition = "در تاریخ " + pc.GetDate() + " سفارش ارسال شد";
        ac.Update_Factor_Condition(dm);
    }
    void factor_condition_update()
    {
        Shoping      ac = new Shoping();
        ShopingDatum dm = new ShopingDatum();
        PublicClass  pc = new PublicClass();

        if (Request.QueryString["Id_Factor"] != null)
        {
            dm.Id_Factor = decimal.Parse(Request.QueryString["Id_Factor"]);
        }
        dm.Factor_Condition = "در تاریخ " + pc.GetDate() + " مبلغ واریز شد";
        ac.Update_Factor_Condition(dm);
    }